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 >
Wrap
Extensible Markup Language
|
2003-05-10
|
17KB
|
444 lines
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
<!-- English revision: 1.3.2.3 -->
<manualpage metafile="sections.xml.meta">
<title>╝╜╝╟ ╝│┴ñ</title>
<summary> <p><a href="configuring.html">╝│┴ñ╞─└╧</a>┐í └╓┤┬
┴÷╜├╛ε┤┬ ╝¡╣÷ └ⁿ├╝┐í └√┐δ╡╟░┼│¬, ╞»┴ñ ╡≡╖║┼Σ╕«, ╞─└╧, ╚ú╜║╞«,
URL┐í╕╕ └√┐δ╡╔ ╝÷ └╓┤┘. └╠ ╣«╝¡┤┬ ┤┘╕Ñ ┴÷╜├╛ε└╟ └√┐δ╣ⁿ└º╕ª
┴ª╟╤╟╧▒Γ└º╟╪ ╝│┴ñ ╝╜╝╟└╠│¬ <code>.htaccess</code> ╞─└╧└╗
╗τ┐δ╟╧┤┬ ╣µ╣²└╗ ╝│╕φ╟╤┤┘.</p>
</summary>
<section id="types"><title>╝│┴ñ ╝╜╝╟└╟ ┴╛╖∙</title>
<related>
<modulelist>
<module>core</module>
<module>mod_proxy</module>
</modulelist>
<directivelist>
<directive type="section" module="core">Directory</directive>
<directive type="section" module="core">DirectoryMatch</directive>
<directive type="section" module="core">Files</directive>
<directive type="section" module="core">FilesMatch</directive>
<directive type="section" module="core">IfDefine</directive>
<directive type="section" module="core">IfModule</directive>
<directive type="section" module="core">Location</directive>
<directive type="section" module="core">LocationMatch</directive>
<directive type="section" module="mod_proxy">Proxy</directive>
<directive type="section" module="mod_proxy">ProxyMatch</directive>
<directive type="section" module="core">VirtualHost</directive>
</directivelist>
</related>
<p>╝╜╝╟┐í┤┬ ╡╬░í┴÷ ┴╛╖∙░í └╓┤┘. ┤δ║╬║╨└║ ╕┼┐Σ├╗╕╢┤┘ ├│╕«╡╚┤┘.
╟╪┤τ╟╧┤┬ ┐Σ├╗┐í╕╕ ╛╚┐í ╞≈╟╘╟╤ ┴÷╜├╛ε╕ª └√┐δ╟╤┤┘. ╣▌┤δ╖╬, <directive
type="section" module="core">IfDefine</directive>░· <directive
type="section" module="core">IfModule</directive>└║ ╝¡╣÷░í
╜├└█╟╥╢º┐═ ▓¿┴·╢º╕╕ ├│╕«╟╤┤┘. ╜├└█╟╥╢º ╗≤┼┬░í ┬ⁿ└╠╕Θ ╛╚┐í └╓┤┬
┴÷╜├╛ε░í ╕≡╡τ ┐Σ├╗┐í └√┐δ╡╚┤┘. ┬ⁿ└╠ ╛╞┤╧╕Θ ╛╚┐í └╓┤┬ ┴÷╜├╛ε┤┬
╣½╜├╟╤┤┘.</p>
<p><directive type="section" module="core">IfDefine</directive>
┴÷╜├╛ε┤┬ <code>httpd</code> ╕φ╖╔╟α┐í └√└²╟╤ ╞─╢≤╣╠┼═░í └╓┤┬
░µ┐∞┐í╕╕ ╛╚┐í ╞≈╟╘╟╤ ┴÷╜├╛ε╕ª └√┐δ╟╤┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ,
╝¡╣÷╕ª <code>httpd -DClosedForNow</code>╖╬ ╜├└█╟╥ ░µ┐∞┐í╕╕
╕≡╡τ ┐Σ├╗└╠ ┤┘╕Ñ ╗τ└╠╞«╖╬ ╕«┤┘└╠╖║╝╟╡╚┤┘:</p>
<example>
<IfDefine ClosedForNow><br />
Redirect / http://otherserver.example.com/<br />
</IfDefine>
</example>
<p><directive type="section" module="core">IfModule</directive>
┴÷╜├╛ε╡╡ ╞»┴ñ ╕≡╡Γ└╠ ╝¡╣÷┐í ╞≈╟╘╡╚ ░µ┐∞┐í╕╕ ╛╚┐í ╡τ ┴÷╜├╛ε╕ª
└√┐δ╟╤┤┘┤┬ ┴í└╗ ┴ª┐▄╟╧░φ┤┬ ╕┼┐∞ ║±╜┴╟╧┤┘. ╕≡╡Γ└╗ ╝¡╣÷┐í ┴ñ└√└╕╖╬
──╞─└╧╟╧░┼│¬ ╡┐└√└╕╖╬ ──╞─└╧╟╤╚─ ╝│┴ñ╞─└╧ ╛╒┐í <directive
module="mod_so">LoadModule</directive> ┴┘└╠ └╓╛ε╛▀ ╟╤┤┘. └╠
┴÷╜├╛ε┤┬ ╞»┴ñ ╕≡╡Γ└╟ ╝│─í└»╣½┐í ╡√╢≤ ╝│┴ñ╞─└╧└╠ ┤┘╕ª ╟╩┐Σ░í
└╓└╗╢º╕╕ ╗τ┐δ╟╪╛▀ ╟╤┤┘. ╕≡╡Γ└╠ ╛°┤┬ ░µ┐∞ └»┐δ╟╤ ┐└╖∙╣«└╠ │¬┐└┴÷╛╩└╗
╝÷ └╓▒Γ ╢º╣«┐í ╛≡┴ª│¬ ╗τ┐δ╟╧▒µ ┐°╟╧┤┬ ┴÷╜├╛ε╕ª ╛╚┐í ╡╬╕Θ ╛╚╡╚┤┘.</p>
<p>┤┘└╜ ┐╣┐í╝¡ <module>mod_mime_magic</module>└╠ └╓└╗╢º╕╕ <directive
module="mod_mime_magic">MimeMagicFiles</directive> ┴÷╜├╛ε╕ª
├│╕«╟╤┤┘.</p>
<example>
<IfModule mod_mime_magic.c><br />
MimeMagicFile conf/magic<br />
</IfModule>
</example>
<p><directive type="section" module="core">IfDefine</directive>░·
<directive type="section" module="core">IfModule</directive>└╟
░╦╗τ ╛╒┐í "!"└╗ ║┘┐⌐ ┴╢░╟└╗ ┐¬└╕╖╬ ╟╥ ╝÷ └╓┤┘. ╢╟, ┐⌐╖» ╝╜╝╟╡Θ└╗
░π├─╝¡ ╗τ┐δ╟╧┐⌐ ┤⌡ ║╣└Γ╟╤ ╚┐░·╕ª ╛≥└╗ ╝÷ └╓┤┘.</p>
</section>
<section id="file-and-web"><title>╞─└╧╜├╜║┼█░· └Ñ░°░ú</title>
<p>░í└σ └┌┴╓ ╗τ┐δ╡╟┤┬ ╝│┴ñ ╝╜╝╟└║ ╞─└╧╜├╜║┼█░· └Ñ░°░ú(webspace)└╟
╞»┴ñ └σ╝╥┐í ┤δ╟╤ ╝│┴ñ└╗ ║»░µ╟╧┤┬ ░═╡Θ└╠┤┘. ╕╒└· └╠ ╡╤└╟ ┬≈└╠╕ª
└╠╟╪╟╧┤┬ ░═└╠ ┴▀┐Σ╟╧┤┘. ╞─└╧╜├╜║┼█└║ ┐ε┐╡├╝┴ª └╘└σ┐í╝¡ ╡≡╜║┼⌐╕ª
║╕┤┬ ░ⁿ┴í└╠┤┘. ┐╣╕ª ╡Θ╛ε, ▒Γ║╗░¬└╕╖╬ ╛╞╞──í╕ª ╝│─í╕ª ╟╧╕Θ └»┤╨╜║
╞─└╧╜├╜║┼█└╟ ░µ┐∞ <code>/usr/local/apache2</code>, └⌐╡╡┐∞┴ε
╞─└╧╜├╜║┼█└╟ ░µ┐∞ <code>"c:/Program Files/Apache
Group/Apache2"</code>┐í ╝│─í╡╚┤┘. (╛╞╞──í┤┬ └⌐╡╡┐∞┴ε┐í╝¡ ┴╢┬≈
╟╫╗≤, ┐¬╜╜╖í╜¼░í ╛╞┤╤, ╜╜╖í╜¼╕ª ╗τ┐δ╟╘└╗ ┴╓└╟╟╧╢≤.) ╣▌┤δ╖╬
└Ñ░°░ú└║ └Ñ╝¡╣÷░í ┴ª░°╟╧░φ ┼¼╢≤└╠╛≡╞«░í ║╕░╘╡╔ ╗τ└╠╞«└╟ ░ⁿ┴í└╠┤┘.
▒╫╖í╝¡ └»┤╨╜║┐í╝¡ ▒Γ║╗ ╛╞╞──í ╝│─í╕ª ╟╤ ░µ┐∞ └Ñ░µ╖╬└╟ ░µ╖╬
<code>/dir/</code>└║ ╞─└╧╜├╜║┼█ ░µ╖╬
<code>/usr/local/apache2/htdocs/dir/</code>┐í ╟╪┤τ╟╤┤┘. └Ñ░°░ú└║
╡Ñ└╠┼╕║ú└╠╜║ ╡ε┐í╝¡ ╡┐└√└╕╖╬ ╗²╝║╡╔ ╝÷ └╓▒Γ╢º╣«┐í ╣▌╡σ╜├
╞─└╧╜├╜║┼█┐í ┴≈┴ó ┤δ└└╡╔ ╟╩┐Σ┤┬ ╛°┤┘.</p>
<section id="filesystem"><title>╞─└╧╜├╜║┼█ ╝╜╝╟</title>
<p><directive type="section" module="core">Directory</directive>┐═
<directive type="section" module="core">Files</directive> ┴÷╜├╛ε┐═
┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╧┤┬ ┴÷╜├╛ε┤┬ ╞─└╧╜├╜║┼█└╟ ╞»┴ñ ║╬║╨┐í ┴÷╜├╛ε╕ª
└√┐δ╟╤┤┘. <directive type="section"
module="core">Directory</directive> ┴÷╜├╛ε┐í ╞≈╟╘╡╚ ┴÷╜├╛ε╡Θ└║
┴÷┴ñ╟╤ ╞─└╧╜├╜║┼█ ╡≡╖║┼Σ╕«┐═ ▒╫ ╟╧└º ╡≡╖║┼Σ╕«┐í └√┐δ╡╚┤┘. <a
href="howto/htaccess.html">.htaccess ╞─└╧</a>└╗ ╗τ┐δ╟╪╡╡ ░ß░·┤┬
░░┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ, ╡≡╖║┼Σ╕« ╕±╖╧(index)└╠
<code>/var/web/dir1</code> └╠╟╧ ╡≡╖║┼Σ╕«┐í╝¡ ╡≡╖║┼Σ╕« ╕±╖╧(index)└╠
░í┤╔╟╧┤┘.</p>
<example>
<Directory /var/web/dir1><br />
Options +Indexes<br />
</Directory>
</example>
<p><directive type="section"
module="core">Files</directive> ╝╜╝╟┐í ╞≈╟╘╡╚ ┴÷╜├╛ε╡Θ└║ ╛ε╢▓
╡≡╖║┼Σ╕«┐í └╓┤┬┴÷ ░ⁿ░Φ╛°└╠ ┴÷┴ñ╟╤ └╠╕º└╗ ░í┴° ╞─└╧┐í └√┐δ╡╚┤┘.
╝│┴ñ╞─└╧└╟ ┴╓╝│┴ñ║╬║╨┐í └╓┤┬ ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ, └σ╝╥┐═
░ⁿ░Φ╛°└╠ <code>private.html</code>└╠╢⌡ └╠╕º└╗ ╟╤ ╞─└╧└╟ ┴ó▒┘└╗
░┼║╬╟╤┤┘.</p>
<example>
<Files private.html><br />
Order allow,deny<br />
Deny from all<br />
</Files>
</example>
<p>╞─└╧╜├╜║┼█└╟ ╞»┴ñ ║╬║╨┐í └╓┤┬ ╞─└╧└╗ ┴÷─¬╟╧▒Γ└º╟╪ <directive
type="section" module="core">Files</directive>┐═ <directive
type="section" module="core">Directory</directive> ╝╜╝╟└╗ ░░└╠
╗τ┐δ╟╤┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ,
<code>/var/web/dir1/private.html</code>,
<code>/var/web/dir1/subdir2/private.html</code>,
<code>/var/web/dir1/subdir3/private.html</code> ░░└╠
<code>/var/web/dir1/</code> ╡≡╖║┼Σ╕« ╛╞╖í┐í └╓┤┬ └╠╕º└╠
<code>private.html</code>└╬ ╞─└╧└╟ ┴ó▒┘└╗ ░┼║╬╟╤┤┘.</p>
<example>
<Directory /var/web/dir1><br />
<Files private.html><br />
Order allow,deny<br />
Deny from all<br />
</Files><br />
</Directory>
</example>
</section>
<section id="webspace"><title>└Ñ░°░ú ╝╜╝╟</title>
<p><directive type="section" module="core">Location</directive>
┴÷╜├╛ε┐═ └╠┐í ╟╪┤τ╟╧┤┬ ┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╧┤┬ ┴÷╜├╛ε┤┬ ╣▌┤δ╖╬
╞»┴ñ └Ñ░°░ú└╟ ╝│┴ñ└╗ ╣┘▓█┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ, /private└╕╖╬
╜├└█╟╧┤┬ URL-░µ╖╬└╟ ┴ó▒┘└╠ ░┼║╬╡╚┤┘. ┐⌐▒Γ┐í┤┬
<code>http://yoursite.example.com/private</code>,
<code>http://yoursite.example.com/private123</code>,
<code>http://yoursite.example.com/private/dir/file.html</code>
░░└╠ <code>/private</code> ╣«└┌┐¡╖╬ ╜├└█╟╧┤┬ ┐Σ├╗└╠ ╟╪┤τ╡╚┤┘.</p>
<example>
<Location /private><br />
Order Allow,Deny<br />
Deny from all<br />
</Location>
</example>
<p><directive type="section" module="core">Location</directive>
┴÷╜├╛ε┤┬ ╞─└╧╜├╜║┼█┐í ┤δ└└╟╥ ╟╩┐Σ░í ╛°┤┘. ┤┘└╜ ┐╣┤┬ ╛ε╢╗░╘ ╞»┴ñ
URL└╗ <module>mod_status</module>░í ┴ª░°╟╧┤┬ ╛╞╞──í │╗║╬ ╟┌╡Θ╖»╖╬
┤δ└└╜├┼░┤┬┴÷╕ª ║╕┐⌐┴╪┤┘. ╞─└╧╜├╜║┼█┐í <code>server-status</code>╢≤┤┬
╞─└╧└║ ╟╩┐Σ╛°┤┘.</p>
<example>
<Location /server-status><br />
SetHandler server-status<br />
</Location>
</example>
</section>
<section id="wildcards"><title>┐═└╧╡σ─½╡σ┐═ ┴ñ▒╘╟Ñ╟÷╜─</title>
<p><directive type="section" module="core">Directory</directive>,
<directive type="section" module="core">Files</directive>,
<directive type="section" module="core">Location</directive>
┴÷╜├╛ε┐í╝¡ C ╟Ñ┴╪ ╞─└╠║Ω╖»╕«└╟ <code>fnmatch</code>┐═ ░░└║
╜⌐┐í╝¡ ╗τ┐δ╟╧┤┬ ┐═└╧╡σ─½╡σ ╣«└┌╕ª ╗τ┐δ╟╥ ╝÷ └╓┤┘.
"*" ╣«└┌┤┬ ╛ε╢▓ ╣«└┌┐¡└╠╢≤╡╡ │¬┼╕│╗░φ, "?" ╣«└┌┤┬ ╛ε╢▓ ╣«└┌ ╟╤░│╕ª
│¬┼╕│╗╕τ, "[<em>seq</em>]"┤┬ <em>seq</em> ┴▀┐í ╟╤ ╣«└┌╕ª │¬┼╕│╜┤┘.
╛ε╢▓ ┐═└╧╡σ─½╡σ╡╡ "/" ╣«└┌╕ª │¬┼╕│╗┴÷┤┬ ╕°╟╤┤┘. ▒╫╖í╝¡ └╠ ╣«└┌┤┬
┴≈┴ó ╗τ┐δ╟╪╛▀ ╟╤┤┘.</p>
<p>┤⌡ └»┐¼╟╤ ╝│┴ñ└╠ ╟╩┐Σ╟╧╕Θ perl╚ú╚» <a
href="glossary.html#regex">┴ñ▒╘╟Ñ╟÷╜─</a>└╗ ╗τ┐δ╟╧┤┬ <directive
type="section" module="core">DirectoryMatch</directive>, <directive
type="section" module="core">FilesMatch</directive>, <directive
type="section" module="core">LocationMatch</directive>╕ª ╗τ┐δ╟╥
╝÷ └╓┤┘. ▒╫╖»│¬ ╛╞╖í ╝│┴ñ└╟ ░ß╟╒┐í ░ⁿ╟╤ └²┐í╝¡ ┴ñ▒╘╟Ñ╟÷╜─ ╝╜╝╟└╗
╗τ┐δ╟╧╕Θ ┴÷╜├╛ε░í └√┐δ╡╟┤┬ ╣µ╣²└╠ ╛ε╢╗░╘ ║»╟╧┤┬┴÷ ╗∞╞∞║┴╢≤.</p>
<p>╕≡╡τ ╗τ┐δ└┌ ╡≡╖║┼Σ╕« ╝│┴ñ└╗ ║»░µ╟╧┤┬ ║±┴ñ▒╘╟Ñ╟÷╜─ ┐═└╧╡σ─½╡σ
╝╜╝╟└║ ┤┘└╜░· ░░┤┘:</p>
<example>
<Directory /home/*/public_html><br />
Options Indexes<br />
</Directory>
</example>
<p>┴ñ▒╘╟Ñ╟÷╜─ ╝╜╝╟└╗ ╗τ┐δ╟╧┐⌐ ╟╤╣°┐í ┐⌐╖» ┴╛╖∙└╟ ▒╫╕▓╞─└╧┐í
┤δ╟╤ ┴ó▒┘└╗ ░┼║╬╟╥ ╝÷ └╓┤┘:</p>
<example>
<FilesMatch \.(?i:gif|jpe?g|png)$><br />
Order allow,deny<br />
Deny from all<br />
</FilesMatch>
</example>
</section>
<section id="whichwhen"><title>╣½╛∙└╗ ╗τ┐δ╟╧│¬</title>
<p>╞─└╧╜├╜║┼█ ╝╜╝╟░· └Ñ░°░ú ╝╜╝╟ ┴▀ ╟╧│¬╕ª ╝▒┼├╟╧┤┬ ░═└║ ╜╟┴ª╖╬
╕┼┐∞ ╜▒┤┘. ╞─└╧╜├╜║┼█┐í └╓┤┬ ░┤├╝┐í ┴÷╜├╛ε╕ª └√┐δ╟╥╢º┤┬ ╟╫╗≤
<directive type="section" module="core">Directory</directive>│¬
<directive type="section" module="core">Files</directive>╕ª
╗τ┐δ╟╤┤┘. (╡Ñ└╠┼╕║ú└╠╜║┐í╝¡ ╗²╝║╟╤ └Ñ╞Σ└╠┴÷┐═ ░░└╠) ╞─└╧╜├╜║┼█┐í
└╓┴÷ ╛╩┤┬ ░┤├╝┐í ┴÷╜├╛ε╕ª └√┐δ╟╥╢º┤┬ <directive type="section"
module="core">Location</directive>└╗ ╗τ┐δ╟╤┤┘.</p>
<p>╞─└╧╜├╜║┼█┐í └╓┤┬ ░┤├╝└╟ ┴ó▒┘└╗ ┴ª╟╤╟╧▒Γ└º╟╪ <directive
type="section" module="core">Location</directive>└╗ ╗τ┐δ╟╧╕Θ
└²┤δ ╛╚╡╚┤┘. ┐⌐╖» ┤┘╕Ñ └Ñ░°░ú └σ╝╥(URL)░í ░░└║ ╞─└╧╜├╜║┼█ └σ╝╥┐í
┤δ└└╡╔ ╝÷ └╓└╕╣╟╖╬, ░╔╛ε╡╨ ┴ª╟╤└╗ ┐∞╚╕╟╥ ╝÷ └╓▒Γ ╢º╣«└╠┤┘. ┤┘└╜
╝│┴ñ└╟ ┐╣╕ª ╗∞╞∞║╕└┌:</p>
<example>
<Location /dir/><br />
Order allow,deny<br />
Deny from all<br />
</Location>
</example>
<p>└╠ ╝│┴ñ└║ <code>http://yoursite.example.com/dir/</code>└╗
┐Σ├╗╟╤┤┘╕Θ └▀ └█╡┐╟╤┤┘. ▒╫╖»│¬ ┤δ╝╥╣«└┌╕ª ▒╕║░╟╧┴÷╛╩┤┬ ╞─└╧╜├╜║┼█└╗
╗τ┐δ╟╤┤┘╕Θ ╛ε╢╗░╘╡╟│¬?
<code>http://yoursite.example.com/DIR/</code>└╗ ┐Σ├╗╟╧┐⌐ ╜▒░╘
┴ª╟╤└╗ ┐∞╚╕╟╥ ╝÷ └╓┤┘. ╣▌┤δ╖╬ <directive type="section"
module="core">Directory</directive> ┴÷╜├╛ε┤┬ ╛ε╢╗░╘ ┐Σ├╗╟╧┐┤┤┬┴÷
░ⁿ░Φ╛°└╠ ▒╫ └σ╝╥┐í╝¡ ╝¡║±╜║╡╟┤┬ │╗┐δ┐í └√┐δ╡╚┤┘. (┐╣┐▄┤┬ ╞─└╧╜├╜║┼█
╕╡┼⌐╕ª ╗τ┐δ╟╧┤┬ ░µ┐∞┤┘. ╜╔║╝╕╡┼⌐╕ª ╗τ┐δ╟╧┐⌐ ╟╤ ╡≡╖║┼Σ╕«╕ª
╞─└╧╜├╜║┼█└╟ ┐⌐╖» └σ╝╥┐í ╡╤ ╝÷ └╓┤┘. <directive type="section"
module="core">Directory</directive> ┴÷╜├╛ε┤┬ ╜╔║╝╕╡┼⌐╕ª ╡√╢≤░ú┤┘.
▒╫╖»╣╟╖╬ │⌠└║ ╝÷┴╪└╟ ║╕╛╚└╗ └º╟╪╝¡┤┬ └√└²╟╤ <directive
module="core">Options</directive> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐ ╜╔║╝╕╡┼⌐╕ª
╣½╜├╟╪╛▀ ╟╤┤┘.)</p>
<p>╛╞╕╢╡╡ ┤τ╜┼└║ ┤δ╝╥╣«└┌╕ª ▒╕║░╟╧┤┬ ╞─└╧╜├╜║┼█└╗ ╗τ┐δ╟╧╣╟╖╬
└╠╖▒ └╧└╠ └╧╛ε│¬┴÷ ╛╩┤┬┤┘░φ ╗²░ó╟╥┴÷╡╡ ╕≡╕Ñ┤┘. ▒╫╖»│¬ ┤┘╕Ñ
╣µ╣²└╕╖╬╡╡ ┐⌐╖» └Ñ░°░ú └º─í░í ╟╤ ╞─└╧╜├╜║┼█ └º─í┐í ┤δ└└╡╔ ╝÷
└╓└╜└╗ ▒Γ╛∩╟╧╢≤. ▒╫╖í╝¡ ░í┤╔╟╧╕Θ ╟╫╗≤ ╞─└╧╜├╜║┼█ ╝╜╝╟└╗ ╗τ┐δ╟╪╛▀
╟╤┤┘. ▒╫╖»│¬ └╠ ▒╘─ó┐í ┐╣┐▄░í ╟╧│¬ └╓┤┘. ╝│┴ñ ┴ª╟╤└╗
<code><Location /></code> ╝╜╝╟┐í ╡╬╕Θ └╠ ╝╜╝╟└╠ ╞»┴ñ
URL└╠ ╛╞┤╤ ╕≡╡τ ┐Σ├╗┐í └√┐δ╡╟╣╟╖╬ ┐╧║«╟╧░╘ ╛╚└ⁿ╟╧┤┘.</p>
</section>
</section>
<section id="virtualhost"><title>░í╗≤╚ú╜║╞«</title>
<p><directive type="section" module="core">VirtualHost</directive>
╝╜╝╟└║ ╞»┴ñ ╚ú╜║╞«┐í └√┐δ╡╟┤┬ ┴÷╜├╛ε╡Θ└╗ ╞≈╟╘╟╤┤┘. └╠┤┬ ╟╤
──╟╗┼═┐í╝¡ ░ó░ó ┤┘╕Ñ ╝│┴ñ└╗ ╗τ┐δ╟╤ ┐⌐╖» ╚ú╜║╞«╕ª ╝¡║±╜║╟╥╢º
└»┐δ╟╧┤┘. ┤⌡ └┌╝╝╟╤ ┴ñ║╕┤┬ <a href="vhosts/">░í╗≤╚ú╜║╞« ╣«╝¡</a>╕ª
┬ⁿ░φ╟╧╢≤.</p>
</section>
<section id="proxy"><title>╟┴╖╧╜├</title>
<p><directive type="section" module="mod_proxy">Proxy</directive>┐═
<directive type="section" module="mod_proxy">ProxyMatch</directive>
╝╜╝╟└║ ┴÷┴ñ╟╤ URL┐í ┤δ╟╪ <module>mod_proxy</module> ╟┴╖╧╜├ ╝¡╣÷╕ª
░┼├─ ┴ó▒┘╟╧┤┬ ░µ┐∞┐í╕╕ └√┐δ╡╚┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ, ╟┴╖╧╜├
╝¡╣÷╕ª ┼δ╟╪ <code>cnn.com</code> └Ñ╗τ└╠╞«┐í ┴ó▒┘╟╥ ╝÷ ╛°┤┘.</p>
<example>
<Proxy http://cnn.com/*><br />
Order allow,deny<br />
Deny from all<br />
</Proxy>
</example>
</section>
<section id="whatwhere"><title>╛╚┐í ╛ε╢▓ ┴÷╜├╛ε╕ª ╗τ┐δ╟╥ ╝÷
└╓│¬?</title>
<p>╛ε╢▓ ╝│┴ñ ╝╜╝╟╛╚┐í ╗τ┐δ╟╥ ╝÷ └╓┤┬ ┴÷╜├╛ε╕ª ╛╦╖┴╕Θ ┴÷╜├╛ε└╟
<a href="mod/directive-dict.html#Context">╗τ┐δ└σ╝╥</a>╕ª ╚«└╬╟╧╢≤.
<directive type="section" module="core">Directory</directive>┐í╝¡
╗τ┐δ░í┤╔╟╤ ┴÷╜├╛ε┤┬ <directive type="section"
module="core">DirectoryMatch</directive>, <directive type="section"
module="core">Files</directive>, <directive type="section"
module="core">FilesMatch</directive>, <directive type="section"
module="core">Location</directive>, <directive type="section"
module="core">LocationMatch</directive>, <directive type="section"
module="mod_proxy">Proxy</directive>, <directive type="section"
module="mod_proxy">ProxyMatch</directive> ╝╜╝╟┐í╝¡╡╡ ╗τ┐δ░í┤╔╟╧┤┘.
▒╫╖»│¬, ┐╣┐▄░í └╓┤┘.</p>
<ul>
<li><directive module="core">AllowOverride</directive> ┴÷╜├╛ε┤┬
<directive type="section" module="core">Directory</directive>
╝╜╝╟┐í╝¡╕╕ ╗τ┐δ╟╥ ╝÷ └╓┤┘.</li>
<li><code>FollowSymLinks</code>, <code>SymLinksIfOwnerMatch</code>,
<directive module="core">Options</directive>┤┬ <directive
type="section" module="core">Directory</directive> ╝╜╝╟└╠│¬
<code>.htaccess</code> ╞─└╧┐í╝¡╕╕ ╗τ┐δ╟╥ ╝÷ └╓┤┘.</li>
<li><directive module="core">Options</directive> ┴÷╜├╛ε┤┬
<directive type="section" module="core">Files</directive>░·
<directive type="section" module="core">FilesMatch</directive>
╝╜╝╟┐í╝¡ ╗τ┐δ╟╥ ╝÷ ╛°┤┘.</li>
</ul>
</section>
<section id="mergin"><title>╝╜╝╟╡Θ└╠ ░ß╟╒╟╧┤┬ ╣µ╣²</title>
<p>╝│┴ñ ╝╜╝╟└║ ╕┼┐∞ ╞»║░╟╤ ╣µ╣²└╕╖╬ └√┐δ╡╚┤┘. └╠ ╝°╝¡░í ╝│┴ñ
┴÷╜├╛ε╕ª ╟╪╝«╟╧┤┬ ╣µ╣²┐í ┴▀┐Σ╟╤ ┐╡╟Γ└╗ ┴╓▒Γ╢º╣«┐í └╠ ╣µ╣²└╗
└╠╟╪╟╧┤┬ ░═└╠ ┴▀┐Σ╟╧┤┘.</p>
<p>░ß╟╒╟╧┤┬ ╝°╝¡┤┬:</p>
<ol>
<li> (┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╧┴÷╛╩┤┬) <directive type="section"
module="core">Directory</directive>┐═ .htaccess┤┬ ╡┐╜├┐í
└╧╛ε│¡┤┘ (░µ┐∞┐í ╡√╢≤ .htaccess└╠ <directive type="section"
module="core">Directory</directive>╕ª ╣½╜├╟╧╡╡╖╧ ╝│┴ñ╟╥
╝÷ └╓┤┘)</li>
<li><directive type="section"
module="core">DirectoryMatch</directive> (▒╫╕«░φ
<code><Directory ~></code>)</li>
<li><directive type="section"
module="core">Files</directive>┐═ <directive type="section"
module="core">FilesMatch</directive>┤┬ ╡┐╜├┐í └╧╛ε│¡┤┘</li>
<li><directive type="section"
module="core">Location</directive>░· <directive type="section"
module="core">LocationMatch</directive>┤┬ ╡┐╜├┐í └╧╛ε│¡┤┘</li>
</ol>
<p><directive type="section"
module="core">Directory</directive>╕ª ┴ª┐▄╟╧░φ ░ó ╝╜╝╟╡Θ└╗
╝│┴ñ╞─└╧┐í │¬┐┬ ╝°╝¡┤δ╖╬ ├│╕«╡╚┤┘. (└º└╟ ╝°╝¡ 1) <directive
type="section" module="core">Directory</directive>┤┬ ╡≡╖║┼Σ╕«
│╗┐δ└╠ ░í└σ ┬¬└║ ░═┐í╝¡ ▒Σ┬╩└╕╖╬ ├│╕«╡╚┤┘. ▒╫╖í╝¡ ┐╣╕ª ╡Θ╛ε,
<code><Directory /var/web/dir></code>└╗
<code><Directory /var/web/dir/subdir></code> └╠└ⁿ┐í
├│╕«╟╤┤┘. ░░└║ ╡≡╖║┼Σ╕«╕ª ┴÷─¬╟╧┤┬ ┐⌐╖» <directive
type="section" module="core">Directory</directive> ╝╜╝╟└╠
└╓┤┘╕Θ └╠╡Θ└╗ ╝│┴ñ╞─└╧ ╝°╝¡┤δ╖╬ ├│╕«╟╤┤┘. <directive
module="core">Include</directive> ┴÷╜├╛ε╖╬ ╞≈╟╘╟╤ ╝│┴ñ└║
<directive module="core">Include</directive> ┴÷╜├╛ε └º─í┐í
╞≈╟╘╟╤ ╞─└╧ │╗┐δ└╠ └╓┤┬ ░═├│╖│ ├│╕«╟╤┤┘.</p>
<p><directive type="section"
module="core">VirtualHost</directive> ╝╜╝╟ ╛╚┐í ╞≈╟╘╡╚ ╝╜╝╟└║
░í╗≤╚ú╜║╞« ┴ñ└╟ ╣█┐í └╓┤┬ ╟╪┤τ ╝╜╝╟ <em>└╠╚─┐í</em> └√┐δ╡╚┤┘.
▒╫╖í╝¡ ░í╗≤╚ú╜║╞« ╛╚┐í╝¡ ┴╓╝¡╣÷└╟ ╝│┴ñ╗τ╟╫└╗ ╝÷┴ñ╟╥ ╝÷ └╓┤┘.</p>
<p>┤┘└╜┐í │¬┐└┤┬ ╝╜╝╟└║ └╠└ⁿ ╝╜╝╟└╟ ░ß░·╕ª ╝÷┴ñ╟╤┤┘.</p>
<note><title>▒Γ╝·└√ ┴╓└╟</title>
╜╟┴ª╖╬
<code><Location></code>/<code><LocationMatch></code>┤┬
(<code>Aliases</code>┐═ <code>DocumentRoot</code>╕ª ╗τ┐δ╟╧┐⌐
URL└╗ ╞─└╧╕φ└╕╖╬ ║»╚»╟╧┤┬) └╠╕º╣°┐¬ ┤▄░Φ └╠└ⁿ┐í ├│╕«╡╚┤┘.
║»┐¬└╠ │í│¡ └╠╚─┐í┤┬ ┐╧└ⁿ╚≈ ╣½╜├╟╤┤┘.
</note>
<section id="merge-examples"><title>┐╣┴ª</title>
<p>┤┘└╜└║ ░π╟╒╟╧┤┬ ╝°╝¡╕ª ╝│╕φ╟╧┤┬ ┐╣┤┘. └╠╡Θ ╕≡╡╬ ┐Σ├╗┐í
└√┐δ╡╚┤┘░φ ░í┴ñ╟╧╕Θ ┴÷╜├╛ε┤┬ A > B > C > D > E
╝°╝¡╖╬ ├│╕«╡╚┤┘.</p>
<example>
<Location /><br />
E<br />
</Location><br />
<br />
<Files f.html><br />
D<br />
</Files><br />
<br />
<VirtualHost *><br />
<Directory /a/b><br />
B<br />
</Directory><br />
</VirtualHost><br />
<br />
<DirectoryMatch "^.*b$"><br />
C<br />
</DirectoryMatch><br />
<br />
<Directory /a/b><br />
A<br />
</Directory><br />
<br />
</example>
<p>┤⌡ ╟÷╜╟└√└╬ ┐╣┤┬ ┤┘└╜░· ░░┤┘. <directive module="core"
type="section">Location</directive> ╝╜╝╟└╗ │¬┴▀┐í ├│╕«╟╧╣╟╖╬
<directive module="core" type="section">Directory</directive>
╝╜╝╟┐í └╓┤┬ ┴ó▒┘┴ª╟╤░· ░ⁿ░Φ╛°└╠ ╝¡╣÷┐í ╣½┴ª╟╤ ┴ó▒┘└╗ ░í┤╔╟╧┤┘.
┴∩, ░ß╟╒╟╧┤┬ ╝°╝¡┤┬ ┴▀┐Σ╟╧╣╟╖╬ ┴╓└╟╟╧╢≤!</p>
<example>
<Location /><br />
Order deny,allow<br />
Allow from all<br />
</Location><br />
<br />
# ╛╟! └╠ <Directory> ╝╜╝╟└║ ╛╞╣½╖▒ ╚┐░·░í ╛°┤┘<br />
<Directory /><br />
Order allow,deny<br />
Allow from all<br />
Deny from badguy.example.com<br />
</Directory>
</example>
</section>
</section>
</manualpage>