home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 November / PCWorld_2003-11_cd.bin / Komunik / apache / apache_2.0.47-win32-x86-no_ssl.msi / Data.Cab / F250677_sections.xml.ko < prev    next >
Extensible Markup Language  |  2003-05-10  |  17KB  |  444 lines

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