home *** CD-ROM | disk | FTP | other *** search
/ PC World 2004 May / PCWorld_2004-05_cd.bin / komunikace / apache / apache_2.0.48-win32-x86-no_ssl.msi / Data.Cab / F252145_sections.html.ko.euckr < prev    next >
Extensible Markup Language  |  2003-05-29  |  23KB  |  416 lines

  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>╝╜╝╟ ╝│┴ñ - Apache HTTP Server</title>
  9. <link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="./images/favicon.ico" rel="shortcut icon" /></head>
  13. <body id="manual-page"><div id="page-header">
  14. <p class="menu"><a href="./mod/">╕≡╡Γ</a> | <a href="./mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">┐δ╛ε</a> | <a href="./sitemap.html">╗τ└╠╞«╕╩</a></p>
  15. <p class="apache">Apache HTTP Server Version 2.0</p>
  16. <img alt="" src="./images/feather.gif" /></div>
  17. <div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div>
  18. <div id="path">
  19. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>╝╜╝╟ ╝│┴ñ</h1>
  20. <div class="toplang">
  21. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="./en/sections.html" hreflang="en" rel="alternate" title="English"> en </a> |
  22. <a href="./ja/sections.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  23. <a href="./ko/sections.html" title="Korean"> ko </a></p>
  24. </div>
  25.  <p><a href="configuring.html">╝│┴ñ╞─└╧</a>┐í └╓┤┬
  26. ┴÷╜├╛ε┤┬ ╝¡╣÷ └ⁿ├╝┐í └√┐δ╡╟░┼│¬, ╞»┴ñ ╡≡╖║┼Σ╕«, ╞─└╧, ╚ú╜║╞«,
  27. URL┐í╕╕ └√┐δ╡╔ ╝÷ └╓┤┘. └╠ ╣«╝¡┤┬ ┤┘╕Ñ ┴÷╜├╛ε└╟ └√┐δ╣ⁿ└º╕ª
  28. ┴ª╟╤╟╧▒Γ└º╟╪ ╝│┴ñ ╝╜╝╟└╠│¬ <code>.htaccess</code> ╞─└╧└╗
  29. ╗τ┐δ╟╧┤┬ ╣µ╣²└╗ ╝│╕φ╟╤┤┘.</p>
  30. </div>
  31. <div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#types">╝│┴ñ ╝╜╝╟└╟ ┴╛╖∙</a></li>
  32. <li><img alt="" src="./images/down.gif" /> <a href="#file-and-web">╞─└╧╜├╜║┼█░· └Ñ░°░ú</a></li>
  33. <li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">░í╗≤╚ú╜║╞«</a></li>
  34. <li><img alt="" src="./images/down.gif" /> <a href="#proxy">╟┴╖╧╜├</a></li>
  35. <li><img alt="" src="./images/down.gif" /> <a href="#whatwhere">╛╚┐í ╛ε╢▓ ┴÷╜├╛ε╕ª ╗τ┐δ╟╥ ╝÷
  36. └╓│¬?</a></li>
  37. <li><img alt="" src="./images/down.gif" /> <a href="#mergin">╝╜╝╟╡Θ└╠ ░ß╟╒╟╧┤┬ ╣µ╣²</a></li>
  38. </ul></div>
  39. <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  40. <div class="section">
  41. <h2><a name="types" id="types">╝│┴ñ ╝╜╝╟└╟ ┴╛╖∙</a></h2>
  42.  
  43. <table class="related"><tr><th>░ⁿ╖├╡╚ ╕≡╡Γ</th><th>░ⁿ╖├╡╚ ┴÷╜├╛ε</th></tr><tr><td><ul><li><code class="module"><a href="./mod/core.html">core</a></code></li><li><code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code></li><li><code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code></li><li><code class="directive"><a href="./mod/core.html#files"><Files></a></code></li><li><code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code></li><li><code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code></li><li><code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code></li><li><code class="directive"><a href="./mod/core.html#location"><Location></a></code></li><li><code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code></li><li><code class="directive"><a href="./mod/mod_proxy.html#proxy"><Proxy></a></code></li><li><code class="directive"><a href="./mod/mod_proxy.html#proxymatch"><ProxyMatch></a></code></li><li><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code></li></ul></td></tr></table>
  44.  
  45. <p>╝╜╝╟┐í┤┬ ╡╬░í┴÷ ┴╛╖∙░í └╓┤┘. ┤δ║╬║╨└║ ╕┼┐Σ├╗╕╢┤┘ ├│╕«╡╚┤┘.
  46. ╟╪┤τ╟╧┤┬ ┐Σ├╗┐í╕╕ ╛╚┐í ╞≈╟╘╟╤ ┴÷╜├╛ε╕ª └√┐δ╟╤┤┘. ╣▌┤δ╖╬, <code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code>░· <code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code>└║ ╝¡╣÷░í
  47. ╜├└█╟╥╢º┐═ ▓¿┴·╢º╕╕ ├│╕«╟╤┤┘. ╜├└█╟╥╢º ╗≤┼┬░í ┬ⁿ└╠╕Θ ╛╚┐í └╓┤┬
  48. ┴÷╜├╛ε░í ╕≡╡τ ┐Σ├╗┐í └√┐δ╡╚┤┘. ┬ⁿ└╠ ╛╞┤╧╕Θ ╛╚┐í └╓┤┬ ┴÷╜├╛ε┤┬
  49. ╣½╜├╟╤┤┘.</p>
  50.  
  51. <p><code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code>
  52. ┴÷╜├╛ε┤┬ <code>httpd</code> ╕φ╖╔╟α┐í └√└²╟╤ ╞─╢≤╣╠┼═░í └╓┤┬
  53. ░µ┐∞┐í╕╕ ╛╚┐í ╞≈╟╘╟╤ ┴÷╜├╛ε╕ª └√┐δ╟╤┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ,
  54. ╝¡╣÷╕ª <code>httpd -DClosedForNow</code>╖╬ ╜├└█╟╥ ░µ┐∞┐í╕╕
  55. ╕≡╡τ ┐Σ├╗└╠ ┤┘╕Ñ ╗τ└╠╞«╖╬ ╕«┤┘└╠╖║╝╟╡╚┤┘:</p>
  56.  
  57. <div class="example"><p><code>
  58. <IfDefine ClosedForNow><br />
  59. Redirect / http://otherserver.example.com/<br />
  60. </IfDefine>
  61. </code></p></div>
  62.  
  63. <p><code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code>
  64. ┴÷╜├╛ε╡╡ ╞»┴ñ ╕≡╡Γ└╠ ╝¡╣÷┐í ╞≈╟╘╡╚ ░µ┐∞┐í╕╕ ╛╚┐í ╡τ ┴÷╜├╛ε╕ª
  65. └√┐δ╟╤┤┘┤┬ ┴í└╗ ┴ª┐▄╟╧░φ┤┬ ╕┼┐∞ ║±╜┴╟╧┤┘. ╕≡╡Γ└╗ ╝¡╣÷┐í ┴ñ└√└╕╖╬
  66. ──╞─└╧╟╧░┼│¬ ╡┐└√└╕╖╬ ──╞─└╧╟╤╚─ ╝│┴ñ╞─└╧ ╛╒┐í <code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code> ┴┘└╠ └╓╛ε╛▀ ╟╤┤┘. └╠
  67. ┴÷╜├╛ε┤┬ ╞»┴ñ ╕≡╡Γ└╟ ╝│─í└»╣½┐í ╡√╢≤ ╝│┴ñ╞─└╧└╠ ┤┘╕ª ╟╩┐Σ░í
  68. └╓└╗╢º╕╕ ╗τ┐δ╟╪╛▀ ╟╤┤┘. ╕≡╡Γ└╠ ╛°┤┬ ░µ┐∞ └»┐δ╟╤ ┐└╖∙╣«└╠ │¬┐└┴÷╛╩└╗
  69. ╝÷ └╓▒Γ ╢º╣«┐í ╛≡┴ª│¬ ╗τ┐δ╟╧▒µ ┐°╟╧┤┬ ┴÷╜├╛ε╕ª ╛╚┐í ╡╬╕Θ ╛╚╡╚┤┘.</p>
  70.  
  71. <p>┤┘└╜ ┐╣┐í╝¡ <code class="module"><a href="./mod/mod_mime_magic.html">mod_mime_magic</a></code>└╠ └╓└╗╢º╕╕ <code class="directive"><a href="./mod/mod_mime_magic.html#mimemagicfiles">MimeMagicFiles</a></code> ┴÷╜├╛ε╕ª
  72. ├│╕«╟╤┤┘.</p>
  73.  
  74. <div class="example"><p><code>
  75. <IfModule mod_mime_magic.c><br />
  76. MimeMagicFile conf/magic<br />
  77. </IfModule>
  78. </code></p></div>
  79.  
  80. <p><code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code>░·
  81. <code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code>└╟
  82. ░╦╗τ ╛╒┐í "!"└╗ ║┘┐⌐ ┴╢░╟└╗ ┐¬└╕╖╬ ╟╥ ╝÷ └╓┤┘. ╢╟, ┐⌐╖» ╝╜╝╟╡Θ└╗
  83. ░π├─╝¡ ╗τ┐δ╟╧┐⌐ ┤⌡ ║╣└Γ╟╤ ╚┐░·╕ª ╛≥└╗ ╝÷ └╓┤┘.</p>
  84. </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  85. <div class="section">
  86. <h2><a name="file-and-web" id="file-and-web">╞─└╧╜├╜║┼█░· └Ñ░°░ú</a></h2>
  87.  
  88. <p>░í└σ └┌┴╓ ╗τ┐δ╡╟┤┬ ╝│┴ñ ╝╜╝╟└║ ╞─└╧╜├╜║┼█░· └Ñ░°░ú(webspace)└╟
  89. ╞»┴ñ └σ╝╥┐í ┤δ╟╤ ╝│┴ñ└╗ ║»░µ╟╧┤┬ ░═╡Θ└╠┤┘. ╕╒└· └╠ ╡╤└╟ ┬≈└╠╕ª
  90. └╠╟╪╟╧┤┬ ░═└╠ ┴▀┐Σ╟╧┤┘. ╞─└╧╜├╜║┼█└║ ┐ε┐╡├╝┴ª └╘└σ┐í╝¡ ╡≡╜║┼⌐╕ª
  91. ║╕┤┬ ░ⁿ┴í└╠┤┘. ┐╣╕ª ╡Θ╛ε, ▒Γ║╗░¬└╕╖╬ ╛╞╞──í╕ª ╝│─í╕ª ╟╧╕Θ └»┤╨╜║
  92. ╞─└╧╜├╜║┼█└╟ ░µ┐∞ <code>/usr/local/apache2</code>, └⌐╡╡┐∞┴ε
  93. ╞─└╧╜├╜║┼█└╟ ░µ┐∞ <code>"c:/Program Files/Apache
  94. Group/Apache2"</code>┐í ╝│─í╡╚┤┘. (╛╞╞──í┤┬ └⌐╡╡┐∞┴ε┐í╝¡ ┴╢┬≈
  95. ╟╫╗≤, ┐¬╜╜╖í╜¼░í ╛╞┤╤, ╜╜╖í╜¼╕ª ╗τ┐δ╟╘└╗ ┴╓└╟╟╧╢≤.) ╣▌┤δ╖╬
  96. └Ñ░°░ú└║ └Ñ╝¡╣÷░í ┴ª░°╟╧░φ ┼¼╢≤└╠╛≡╞«░í ║╕░╘╡╔ ╗τ└╠╞«└╟ ░ⁿ┴í└╠┤┘.
  97. ▒╫╖í╝¡ └»┤╨╜║┐í╝¡ ▒Γ║╗ ╛╞╞──í ╝│─í╕ª ╟╤ ░µ┐∞ └Ñ░µ╖╬└╟ ░µ╖╬
  98. <code>/dir/</code>└║ ╞─└╧╜├╜║┼█ ░µ╖╬
  99. <code>/usr/local/apache2/htdocs/dir/</code>┐í ╟╪┤τ╟╤┤┘. └Ñ░°░ú└║
  100. ╡Ñ└╠┼╕║ú└╠╜║ ╡ε┐í╝¡ ╡┐└√└╕╖╬ ╗²╝║╡╔ ╝÷ └╓▒Γ╢º╣«┐í ╣▌╡σ╜├
  101. ╞─└╧╜├╜║┼█┐í ┴≈┴ó ┤δ└└╡╔ ╟╩┐Σ┤┬ ╛°┤┘.</p>
  102.  
  103. <h3><a name="filesystem" id="filesystem">╞─└╧╜├╜║┼█ ╝╜╝╟</a></h3>
  104.  
  105. <p><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>┐═
  106. <code class="directive"><a href="./mod/core.html#files"><Files></a></code> ┴÷╜├╛ε┐═
  107. ┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╧┤┬ ┴÷╜├╛ε┤┬ ╞─└╧╜├╜║┼█└╟ ╞»┴ñ ║╬║╨┐í ┴÷╜├╛ε╕ª
  108. └√┐δ╟╤┤┘. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ┴÷╜├╛ε┐í ╞≈╟╘╡╚ ┴÷╜├╛ε╡Θ└║
  109. ┴÷┴ñ╟╤ ╞─└╧╜├╜║┼█ ╡≡╖║┼Σ╕«┐═ ▒╫ ╟╧└º ╡≡╖║┼Σ╕«┐í └√┐δ╡╚┤┘. <a href="howto/htaccess.html">.htaccess ╞─└╧</a>└╗ ╗τ┐δ╟╪╡╡ ░ß░·┤┬
  110. ░░┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ, ╡≡╖║┼Σ╕« ╕±╖╧(index)└╠
  111. <code>/var/web/dir1</code> └╠╟╧ ╡≡╖║┼Σ╕«┐í╝¡ ╡≡╖║┼Σ╕« ╕±╖╧(index)└╠
  112. ░í┤╔╟╧┤┘.</p>
  113.  
  114. <div class="example"><p><code>
  115. <Directory /var/web/dir1><br />
  116. Options +Indexes<br />
  117. </Directory>
  118. </code></p></div>
  119.  
  120. <p><code class="directive"><a href="./mod/core.html#files"><Files></a></code> ╝╜╝╟┐í ╞≈╟╘╡╚ ┴÷╜├╛ε╡Θ└║ ╛ε╢▓
  121. ╡≡╖║┼Σ╕«┐í └╓┤┬┴÷ ░ⁿ░Φ╛°└╠ ┴÷┴ñ╟╤ └╠╕º└╗ ░í┴° ╞─└╧┐í └√┐δ╡╚┤┘.
  122. ╝│┴ñ╞─└╧└╟ ┴╓╝│┴ñ║╬║╨┐í └╓┤┬ ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ, └σ╝╥┐═
  123. ░ⁿ░Φ╛°└╠ <code>private.html</code>└╠╢⌡ └╠╕º└╗ ╟╤ ╞─└╧└╟ ┴ó▒┘└╗
  124. ░┼║╬╟╤┤┘.</p>
  125.  
  126. <div class="example"><p><code>
  127. <Files private.html><br />
  128. Order allow,deny<br />
  129. Deny from all<br />
  130. </Files>
  131. </code></p></div>
  132.  
  133. <p>╞─└╧╜├╜║┼█└╟ ╞»┴ñ ║╬║╨┐í └╓┤┬ ╞─└╧└╗ ┴÷─¬╟╧▒Γ└º╟╪ <code class="directive"><a href="./mod/core.html#files"><Files></a></code>┐═ <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ╝╜╝╟└╗ ░░└╠
  134. ╗τ┐δ╟╤┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ,
  135. <code>/var/web/dir1/private.html</code>,
  136. <code>/var/web/dir1/subdir2/private.html</code>,
  137. <code>/var/web/dir1/subdir3/private.html</code> ░░└╠
  138. <code>/var/web/dir1/</code> ╡≡╖║┼Σ╕« ╛╞╖í┐í └╓┤┬ └╠╕º└╠
  139. <code>private.html</code>└╬ ╞─└╧└╟ ┴ó▒┘└╗ ░┼║╬╟╤┤┘.</p>
  140.  
  141. <div class="example"><p><code>
  142. <Directory /var/web/dir1><br />
  143. <Files private.html><br />
  144. Order allow,deny<br />
  145. Deny from all<br />
  146. </Files><br />
  147. </Directory>
  148. </code></p></div>
  149.  
  150.  
  151. <h3><a name="webspace" id="webspace">└Ñ░°░ú ╝╜╝╟</a></h3>
  152.  
  153. <p><code class="directive"><a href="./mod/core.html#location"><Location></a></code>
  154. ┴÷╜├╛ε┐═ └╠┐í ╟╪┤τ╟╧┤┬ ┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╧┤┬ ┴÷╜├╛ε┤┬ ╣▌┤δ╖╬
  155. ╞»┴ñ └Ñ░°░ú└╟ ╝│┴ñ└╗ ╣┘▓█┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ, /private└╕╖╬
  156. ╜├└█╟╧┤┬ URL-░µ╖╬└╟ ┴ó▒┘└╠ ░┼║╬╡╚┤┘. ┐⌐▒Γ┐í┤┬
  157. <code>http://yoursite.example.com/private</code>,
  158. <code>http://yoursite.example.com/private123</code>,
  159. <code>http://yoursite.example.com/private/dir/file.html</code>
  160. ░░└╠ <code>/private</code> ╣«└┌┐¡╖╬ ╜├└█╟╧┤┬ ┐Σ├╗└╠ ╟╪┤τ╡╚┤┘.</p>
  161.  
  162. <div class="example"><p><code>
  163. <Location /private><br />
  164. Order Allow,Deny<br />
  165. Deny from all<br />
  166. </Location>
  167. </code></p></div>
  168.  
  169. <p><code class="directive"><a href="./mod/core.html#location"><Location></a></code>
  170. ┴÷╜├╛ε┤┬ ╞─└╧╜├╜║┼█┐í ┤δ└└╟╥ ╟╩┐Σ░í ╛°┤┘. ┤┘└╜ ┐╣┤┬ ╛ε╢╗░╘ ╞»┴ñ
  171. URL└╗ <code class="module"><a href="./mod/mod_status.html">mod_status</a></code>░í ┴ª░°╟╧┤┬ ╛╞╞──í │╗║╬ ╟┌╡Θ╖»╖╬
  172. ┤δ└└╜├┼░┤┬┴÷╕ª ║╕┐⌐┴╪┤┘. ╞─└╧╜├╜║┼█┐í <code>server-status</code>╢≤┤┬
  173. ╞─└╧└║ ╟╩┐Σ╛°┤┘.</p>
  174.  
  175. <div class="example"><p><code>
  176. <Location /server-status><br />
  177. SetHandler server-status<br />
  178. </Location>
  179. </code></p></div>
  180.  
  181.  
  182. <h3><a name="wildcards" id="wildcards">┐═└╧╡σ─½╡σ┐═ ┴ñ▒╘╟Ñ╟÷╜─</a></h3>
  183.  
  184. <p><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>,
  185. <code class="directive"><a href="./mod/core.html#files"><Files></a></code>,
  186. <code class="directive"><a href="./mod/core.html#location"><Location></a></code>
  187. ┴÷╜├╛ε┐í╝¡ C ╟Ñ┴╪ ╞─└╠║Ω╖»╕«└╟ <code>fnmatch</code>┐═ ░░└║
  188. ╜⌐┐í╝¡ ╗τ┐δ╟╧┤┬ ┐═└╧╡σ─½╡σ ╣«└┌╕ª ╗τ┐δ╟╥ ╝÷ └╓┤┘.
  189. "*" ╣«└┌┤┬ ╛ε╢▓ ╣«└┌┐¡└╠╢≤╡╡ │¬┼╕│╗░φ, "?" ╣«└┌┤┬ ╛ε╢▓ ╣«└┌ ╟╤░│╕ª
  190. │¬┼╕│╗╕τ, "[<em>seq</em>]"┤┬ <em>seq</em> ┴▀┐í ╟╤ ╣«└┌╕ª │¬┼╕│╜┤┘.
  191. ╛ε╢▓ ┐═└╧╡σ─½╡σ╡╡ "/" ╣«└┌╕ª │¬┼╕│╗┴÷┤┬ ╕°╟╤┤┘. ▒╫╖í╝¡ └╠ ╣«└┌┤┬
  192. ┴≈┴ó ╗τ┐δ╟╪╛▀ ╟╤┤┘.</p>
  193.  
  194. <p>┤⌡ └»┐¼╟╤ ╝│┴ñ└╠ ╟╩┐Σ╟╧╕Θ perl╚ú╚» <a href="glossary.html#regex">┴ñ▒╘╟Ñ╟÷╜─</a>└╗ ╗τ┐δ╟╧┤┬ <code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code>, <code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code>, <code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code>╕ª ╗τ┐δ╟╥
  195. ╝÷ └╓┤┘. ▒╫╖»│¬ ╛╞╖í ╝│┴ñ└╟ ░ß╟╒┐í ░ⁿ╟╤ └²┐í╝¡ ┴ñ▒╘╟Ñ╟÷╜─ ╝╜╝╟└╗
  196. ╗τ┐δ╟╧╕Θ ┴÷╜├╛ε░í └√┐δ╡╟┤┬ ╣µ╣²└╠ ╛ε╢╗░╘ ║»╟╧┤┬┴÷ ╗∞╞∞║┴╢≤.</p>
  197.  
  198. <p>╕≡╡τ ╗τ┐δ└┌ ╡≡╖║┼Σ╕« ╝│┴ñ└╗ ║»░µ╟╧┤┬ ║±┴ñ▒╘╟Ñ╟÷╜─ ┐═└╧╡σ─½╡σ
  199. ╝╜╝╟└║ ┤┘└╜░· ░░┤┘:</p>
  200.  
  201. <div class="example"><p><code>
  202. <Directory /home/*/public_html><br />
  203. Options Indexes<br />
  204. </Directory>
  205. </code></p></div>
  206.  
  207. <p>┴ñ▒╘╟Ñ╟÷╜─ ╝╜╝╟└╗ ╗τ┐δ╟╧┐⌐ ╟╤╣°┐í ┐⌐╖» ┴╛╖∙└╟ ▒╫╕▓╞─└╧┐í
  208. ┤δ╟╤ ┴ó▒┘└╗ ░┼║╬╟╥ ╝÷ └╓┤┘:</p>
  209. <div class="example"><p><code>
  210. <FilesMatch \.(?i:gif|jpe?g|png)$><br />
  211. Order allow,deny<br />
  212. Deny from all<br />
  213. </FilesMatch>
  214. </code></p></div>
  215.  
  216.  
  217.  
  218. <h3><a name="whichwhen" id="whichwhen">╣½╛∙└╗ ╗τ┐δ╟╧│¬</a></h3>
  219.  
  220. <p>╞─└╧╜├╜║┼█ ╝╜╝╟░· └Ñ░°░ú ╝╜╝╟ ┴▀ ╟╧│¬╕ª ╝▒┼├╟╧┤┬ ░═└║ ╜╟┴ª╖╬
  221. ╕┼┐∞ ╜▒┤┘. ╞─└╧╜├╜║┼█┐í └╓┤┬ ░┤├╝┐í ┴÷╜├╛ε╕ª └√┐δ╟╥╢º┤┬ ╟╫╗≤
  222. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>│¬
  223. <code class="directive"><a href="./mod/core.html#files"><Files></a></code>╕ª
  224. ╗τ┐δ╟╤┤┘. (╡Ñ└╠┼╕║ú└╠╜║┐í╝¡ ╗²╝║╟╤ └Ñ╞Σ└╠┴÷┐═ ░░└╠) ╞─└╧╜├╜║┼█┐í
  225. └╓┴÷ ╛╩┤┬ ░┤├╝┐í ┴÷╜├╛ε╕ª └√┐δ╟╥╢º┤┬ <code class="directive"><a href="./mod/core.html#location"><Location></a></code>└╗ ╗τ┐δ╟╤┤┘.</p>
  226.  
  227. <p>╞─└╧╜├╜║┼█┐í └╓┤┬ ░┤├╝└╟ ┴ó▒┘└╗ ┴ª╟╤╟╧▒Γ└º╟╪ <code class="directive"><a href="./mod/core.html#location"><Location></a></code>└╗ ╗τ┐δ╟╧╕Θ
  228. └²┤δ ╛╚╡╚┤┘. ┐⌐╖» ┤┘╕Ñ └Ñ░°░ú └σ╝╥(URL)░í ░░└║ ╞─└╧╜├╜║┼█ └σ╝╥┐í
  229. ┤δ└└╡╔ ╝÷ └╓└╕╣╟╖╬, ░╔╛ε╡╨ ┴ª╟╤└╗ ┐∞╚╕╟╥ ╝÷ └╓▒Γ ╢º╣«└╠┤┘. ┤┘└╜
  230. ╝│┴ñ└╟ ┐╣╕ª ╗∞╞∞║╕└┌:</p>
  231.  
  232. <div class="example"><p><code>
  233. <Location /dir/><br />
  234. Order allow,deny<br />
  235. Deny from all<br />
  236. </Location>
  237. </code></p></div>
  238.  
  239. <p>└╠ ╝│┴ñ└║ <code>http://yoursite.example.com/dir/</code>└╗
  240. ┐Σ├╗╟╤┤┘╕Θ └▀ └█╡┐╟╤┤┘. ▒╫╖»│¬ ┤δ╝╥╣«└┌╕ª ▒╕║░╟╧┴÷╛╩┤┬ ╞─└╧╜├╜║┼█└╗
  241. ╗τ┐δ╟╤┤┘╕Θ ╛ε╢╗░╘╡╟│¬?
  242. <code>http://yoursite.example.com/DIR/</code>└╗ ┐Σ├╗╟╧┐⌐ ╜▒░╘
  243. ┴ª╟╤└╗ ┐∞╚╕╟╥ ╝÷ └╓┤┘. ╣▌┤δ╖╬ <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ┴÷╜├╛ε┤┬ ╛ε╢╗░╘ ┐Σ├╗╟╧┐┤┤┬┴÷
  244. ░ⁿ░Φ╛°└╠ ▒╫ └σ╝╥┐í╝¡ ╝¡║±╜║╡╟┤┬ │╗┐δ┐í └√┐δ╡╚┤┘. (┐╣┐▄┤┬ ╞─└╧╜├╜║┼█
  245. ╕╡┼⌐╕ª ╗τ┐δ╟╧┤┬ ░µ┐∞┤┘. ╜╔║╝╕╡┼⌐╕ª ╗τ┐δ╟╧┐⌐ ╟╤ ╡≡╖║┼Σ╕«╕ª
  246. ╞─└╧╜├╜║┼█└╟ ┐⌐╖» └σ╝╥┐í ╡╤ ╝÷ └╓┤┘. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ┴÷╜├╛ε┤┬ ╜╔║╝╕╡┼⌐╕ª ╡√╢≤░ú┤┘.
  247. ▒╫╖»╣╟╖╬ │⌠└║ ╝÷┴╪└╟ ║╕╛╚└╗ └º╟╪╝¡┤┬ └√└²╟╤ <code class="directive"><a href="./mod/core.html#options">Options</a></code> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐ ╜╔║╝╕╡┼⌐╕ª
  248. ╣½╜├╟╪╛▀ ╟╤┤┘.)</p>
  249.  
  250. <p>╛╞╕╢╡╡ ┤τ╜┼└║ ┤δ╝╥╣«└┌╕ª ▒╕║░╟╧┤┬ ╞─└╧╜├╜║┼█└╗ ╗τ┐δ╟╧╣╟╖╬
  251. └╠╖▒ └╧└╠ └╧╛ε│¬┴÷ ╛╩┤┬┤┘░φ ╗²░ó╟╥┴÷╡╡ ╕≡╕Ñ┤┘. ▒╫╖»│¬ ┤┘╕Ñ
  252. ╣µ╣²└╕╖╬╡╡ ┐⌐╖» └Ñ░°░ú └º─í░í ╟╤ ╞─└╧╜├╜║┼█ └º─í┐í ┤δ└└╡╔ ╝÷
  253. └╓└╜└╗ ▒Γ╛∩╟╧╢≤. ▒╫╖í╝¡ ░í┤╔╟╧╕Θ ╟╫╗≤ ╞─└╧╜├╜║┼█ ╝╜╝╟└╗ ╗τ┐δ╟╪╛▀
  254. ╟╤┤┘. ▒╫╖»│¬ └╠ ▒╘─ó┐í ┐╣┐▄░í ╟╧│¬ └╓┤┘. ╝│┴ñ ┴ª╟╤└╗
  255. <code><Location /></code> ╝╜╝╟┐í ╡╬╕Θ └╠ ╝╜╝╟└╠ ╞»┴ñ
  256. URL└╠ ╛╞┤╤ ╕≡╡τ ┐Σ├╗┐í └√┐δ╡╟╣╟╖╬ ┐╧║«╟╧░╘ ╛╚└ⁿ╟╧┤┘.</p>
  257.  
  258.  
  259. </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  260. <div class="section">
  261. <h2><a name="virtualhost" id="virtualhost">░í╗≤╚ú╜║╞«</a></h2>
  262.  
  263. <p><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
  264. ╝╜╝╟└║ ╞»┴ñ ╚ú╜║╞«┐í └√┐δ╡╟┤┬ ┴÷╜├╛ε╡Θ└╗ ╞≈╟╘╟╤┤┘. └╠┤┬ ╟╤
  265. ──╟╗┼═┐í╝¡ ░ó░ó ┤┘╕Ñ ╝│┴ñ└╗ ╗τ┐δ╟╤ ┐⌐╖» ╚ú╜║╞«╕ª ╝¡║±╜║╟╥╢º
  266. └»┐δ╟╧┤┘. ┤⌡ └┌╝╝╟╤ ┴ñ║╕┤┬ <a href="vhosts/">░í╗≤╚ú╜║╞« ╣«╝¡</a>╕ª
  267. ┬ⁿ░φ╟╧╢≤.</p>
  268. </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  269. <div class="section">
  270. <h2><a name="proxy" id="proxy">╟┴╖╧╜├</a></h2>
  271.  
  272. <p><code class="directive"><a href="./mod/mod_proxy.html#proxy"><Proxy></a></code>┐═
  273. <code class="directive"><a href="./mod/mod_proxy.html#proxymatch"><ProxyMatch></a></code>
  274. ╝╜╝╟└║ ┴÷┴ñ╟╤ URL┐í ┤δ╟╪ <code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code> ╟┴╖╧╜├ ╝¡╣÷╕ª
  275. ░┼├─ ┴ó▒┘╟╧┤┬ ░µ┐∞┐í╕╕ └√┐δ╡╚┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ, ╟┴╖╧╜├
  276. ╝¡╣÷╕ª ┼δ╟╪ <code>cnn.com</code> └Ñ╗τ└╠╞«┐í ┴ó▒┘╟╥ ╝÷ ╛°┤┘.</p>
  277.  
  278. <div class="example"><p><code>
  279. <Proxy http://cnn.com/*><br />
  280. Order allow,deny<br />
  281. Deny from all<br />
  282. </Proxy>
  283. </code></p></div>
  284. </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  285. <div class="section">
  286. <h2><a name="whatwhere" id="whatwhere">╛╚┐í ╛ε╢▓ ┴÷╜├╛ε╕ª ╗τ┐δ╟╥ ╝÷
  287. └╓│¬?</a></h2>
  288.  
  289. <p>╛ε╢▓ ╝│┴ñ ╝╜╝╟╛╚┐í ╗τ┐δ╟╥ ╝÷ └╓┤┬ ┴÷╜├╛ε╕ª ╛╦╖┴╕Θ ┴÷╜├╛ε└╟
  290. <a href="mod/directive-dict.html#Context">╗τ┐δ└σ╝╥</a>╕ª ╚«└╬╟╧╢≤.
  291. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>┐í╝¡
  292. ╗τ┐δ░í┤╔╟╤ ┴÷╜├╛ε┤┬ <code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code>, <code class="directive"><a href="./mod/core.html#files"><Files></a></code>, <code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code>, <code class="directive"><a href="./mod/core.html#location"><Location></a></code>, <code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code>, <code class="directive"><a href="./mod/mod_proxy.html#proxy"><Proxy></a></code>, <code class="directive"><a href="./mod/mod_proxy.html#proxymatch"><ProxyMatch></a></code> ╝╜╝╟┐í╝¡╡╡ ╗τ┐δ░í┤╔╟╧┤┘.
  293. ▒╫╖»│¬, ┐╣┐▄░í └╓┤┘.</p>
  294.  
  295. <ul>
  296. <li><code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code> ┴÷╜├╛ε┤┬
  297. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>
  298. ╝╜╝╟┐í╝¡╕╕ ╗τ┐δ╟╥ ╝÷ └╓┤┘.</li>
  299.  
  300. <li><code>FollowSymLinks</code>, <code>SymLinksIfOwnerMatch</code>,
  301. <code class="directive"><a href="./mod/core.html#options">Options</a></code>┤┬ <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ╝╜╝╟└╠│¬
  302. <code>.htaccess</code> ╞─└╧┐í╝¡╕╕ ╗τ┐δ╟╥ ╝÷ └╓┤┘.</li>
  303.  
  304. <li><code class="directive"><a href="./mod/core.html#options">Options</a></code> ┴÷╜├╛ε┤┬
  305. <code class="directive"><a href="./mod/core.html#files"><Files></a></code>░·
  306. <code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code>
  307. ╝╜╝╟┐í╝¡ ╗τ┐δ╟╥ ╝÷ ╛°┤┘.</li>
  308. </ul>
  309. </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  310. <div class="section">
  311. <h2><a name="mergin" id="mergin">╝╜╝╟╡Θ└╠ ░ß╟╒╟╧┤┬ ╣µ╣²</a></h2>
  312.  
  313. <p>╝│┴ñ ╝╜╝╟└║ ╕┼┐∞ ╞»║░╟╤ ╣µ╣²└╕╖╬ └√┐δ╡╚┤┘. └╠ ╝°╝¡░í ╝│┴ñ
  314. ┴÷╜├╛ε╕ª ╟╪╝«╟╧┤┬ ╣µ╣²┐í ┴▀┐Σ╟╤ ┐╡╟Γ└╗ ┴╓▒Γ╢º╣«┐í └╠ ╣µ╣²└╗
  315. └╠╟╪╟╧┤┬ ░═└╠ ┴▀┐Σ╟╧┤┘.</p>
  316.  
  317.     <p>░ß╟╒╟╧┤┬ ╝°╝¡┤┬:</p>
  318.  
  319.     <ol>
  320.       <li> (┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╧┴÷╛╩┤┬) <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>┐═ .htaccess┤┬ ╡┐╜├┐í
  321.       └╧╛ε│¡┤┘ (░µ┐∞┐í ╡√╢≤ .htaccess└╠ <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>╕ª ╣½╜├╟╧╡╡╖╧ ╝│┴ñ╟╥
  322.       ╝÷ └╓┤┘)</li>
  323.  
  324.       <li><code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code> (▒╫╕«░φ
  325.       <code><Directory ~></code>)</li>
  326.  
  327.       <li><code class="directive"><a href="./mod/core.html#files"><Files></a></code>┐═ <code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code>┤┬ ╡┐╜├┐í └╧╛ε│¡┤┘</li>
  328.  
  329.       <li><code class="directive"><a href="./mod/core.html#location"><Location></a></code>░· <code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code>┤┬ ╡┐╜├┐í └╧╛ε│¡┤┘</li>
  330.     </ol>
  331.  
  332.     <p><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>╕ª ┴ª┐▄╟╧░φ ░ó ╝╜╝╟╡Θ└╗
  333.     ╝│┴ñ╞─└╧┐í │¬┐┬ ╝°╝¡┤δ╖╬ ├│╕«╡╚┤┘. (└º└╟ ╝°╝¡ 1) <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>┤┬ ╡≡╖║┼Σ╕«
  334.     │╗┐δ└╠ ░í└σ ┬¬└║ ░═┐í╝¡ ▒Σ┬╩└╕╖╬ ├│╕«╡╚┤┘. ▒╫╖í╝¡ ┐╣╕ª ╡Θ╛ε,
  335.     <code><Directory /var/web/dir></code>└╗
  336.     <code><Directory /var/web/dir/subdir></code> └╠└ⁿ┐í
  337.     ├│╕«╟╤┤┘. ░░└║ ╡≡╖║┼Σ╕«╕ª ┴÷─¬╟╧┤┬ ┐⌐╖» <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ╝╜╝╟└╠
  338.     └╓┤┘╕Θ └╠╡Θ└╗ ╝│┴ñ╞─└╧ ╝°╝¡┤δ╖╬ ├│╕«╟╤┤┘. <code class="directive"><a href="./mod/core.html#include">Include</a></code> ┴÷╜├╛ε╖╬ ╞≈╟╘╟╤ ╝│┴ñ└║
  339.     <code class="directive"><a href="./mod/core.html#include">Include</a></code> ┴÷╜├╛ε └º─í┐í
  340.     ╞≈╟╘╟╤ ╞─└╧ │╗┐δ└╠ └╓┤┬ ░═├│╖│ ├│╕«╟╤┤┘.</p>
  341.  
  342.     <p><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> ╝╜╝╟ ╛╚┐í ╞≈╟╘╡╚ ╝╜╝╟└║
  343.     ░í╗≤╚ú╜║╞« ┴ñ└╟ ╣█┐í └╓┤┬ ╟╪┤τ ╝╜╝╟ <em>└╠╚─┐í</em> └√┐δ╡╚┤┘.
  344.     ▒╫╖í╝¡ ░í╗≤╚ú╜║╞« ╛╚┐í╝¡ ┴╓╝¡╣÷└╟ ╝│┴ñ╗τ╟╫└╗ ╝÷┴ñ╟╥ ╝÷ └╓┤┘.</p>
  345.  
  346.     <p>┤┘└╜┐í │¬┐└┤┬ ╝╜╝╟└║ └╠└ⁿ ╝╜╝╟└╟ ░ß░·╕ª ╝÷┴ñ╟╤┤┘.</p>
  347.  
  348. <div class="note"><h3>▒Γ╝·└√ ┴╓└╟</h3>
  349.       ╜╟┴ª╖╬
  350.       <code><Location></code>/<code><LocationMatch></code>┤┬
  351.       (<code>Aliases</code>┐═ <code>DocumentRoot</code>╕ª ╗τ┐δ╟╧┐⌐
  352.       URL└╗ ╞─└╧╕φ└╕╖╬ ║»╚»╟╧┤┬) └╠╕º╣°┐¬ ┤▄░Φ └╠└ⁿ┐í ├│╕«╡╚┤┘.
  353.       ║»┐¬└╠ │í│¡ └╠╚─┐í┤┬ ┐╧└ⁿ╚≈ ╣½╜├╟╤┤┘.
  354. </div>
  355.  
  356. <h3><a name="merge-examples" id="merge-examples">┐╣┴ª</a></h3>
  357.  
  358. <p>┤┘└╜└║ ░π╟╒╟╧┤┬ ╝°╝¡╕ª ╝│╕φ╟╧┤┬ ┐╣┤┘. └╠╡Θ ╕≡╡╬ ┐Σ├╗┐í
  359. └√┐δ╡╚┤┘░φ ░í┴ñ╟╧╕Θ ┴÷╜├╛ε┤┬ A > B > C > D > E
  360. ╝°╝¡╖╬ ├│╕«╡╚┤┘.</p>
  361.  
  362. <div class="example"><p><code>
  363. <Location /><br />
  364. E<br />
  365. </Location><br />
  366. <br />
  367. <Files f.html><br />
  368. D<br />
  369. </Files><br />
  370. <br />
  371. <VirtualHost *><br />
  372. <Directory /a/b><br />
  373. B<br />
  374. </Directory><br />
  375. </VirtualHost><br />
  376. <br />
  377. <DirectoryMatch "^.*b$"><br />
  378. C<br />
  379. </DirectoryMatch><br />
  380. <br />
  381. <Directory /a/b><br />
  382. A<br />
  383. </Directory><br />
  384. <br />
  385. </code></p></div>
  386.  
  387. <p>┤⌡ ╟÷╜╟└√└╬ ┐╣┤┬ ┤┘└╜░· ░░┤┘. <code class="directive"><a href="./mod/core.html#location"><Location></a></code> ╝╜╝╟└╗ │¬┴▀┐í ├│╕«╟╧╣╟╖╬
  388. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>
  389. ╝╜╝╟┐í └╓┤┬ ┴ó▒┘┴ª╟╤░· ░ⁿ░Φ╛°└╠ ╝¡╣÷┐í ╣½┴ª╟╤ ┴ó▒┘└╗ ░í┤╔╟╧┤┘.
  390. ┴∩, ░ß╟╒╟╧┤┬ ╝°╝¡┤┬ ┴▀┐Σ╟╧╣╟╖╬ ┴╓└╟╟╧╢≤!</p>
  391.  
  392. <div class="example"><p><code>
  393. <Location /><br />
  394. Order deny,allow<br />
  395. Allow from all<br />
  396. </Location><br />
  397. <br />
  398. # ╛╟!  └╠ <Directory> ╝╜╝╟└║ ╛╞╣½╖▒ ╚┐░·░í ╛°┤┘<br />
  399. <Directory /><br />
  400. Order allow,deny<br />
  401. Allow from all<br />
  402. Deny from badguy.example.com<br />
  403. </Directory>
  404. </code></p></div>
  405.  
  406.  
  407.  
  408. </div></div>
  409. <div class="bottomlang">
  410. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="./en/sections.html" hreflang="en" rel="alternate" title="English"> en </a> |
  411. <a href="./ja/sections.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  412. <a href="./ko/sections.html" title="Korean"> ko </a></p>
  413. </div><div id="footer">
  414. <p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
  415. <p class="menu"><a href="./mod/">╕≡╡Γ</a> | <a href="./mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">┐δ╛ε</a> | <a href="./sitemap.html">╗τ└╠╞«╕╩</a></p></div>
  416. </body></html>