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 >
Wrap
Extensible Markup Language
|
2003-05-29
|
23KB
|
416 lines
<?xml version="1.0" encoding="EUC-KR"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>╝╜╝╟ ╝│┴ñ - Apache HTTP Server</title>
<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="./images/favicon.ico" rel="shortcut icon" /></head>
<body id="manual-page"><div id="page-header">
<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>
<p class="apache">Apache HTTP Server Version 2.0</p>
<img alt="" src="./images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div>
<div id="path">
<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>
<div class="toplang">
<p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="./en/sections.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="./ja/sections.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
<a href="./ko/sections.html" title="Korean"> ko </a></p>
</div>
<p><a href="configuring.html">╝│┴ñ╞─└╧</a>┐í └╓┤┬
┴÷╜├╛ε┤┬ ╝¡╣÷ └ⁿ├╝┐í └√┐δ╡╟░┼│¬, ╞»┴ñ ╡≡╖║┼Σ╕«, ╞─└╧, ╚ú╜║╞«,
URL┐í╕╕ └√┐δ╡╔ ╝÷ └╓┤┘. └╠ ╣«╝¡┤┬ ┤┘╕Ñ ┴÷╜├╛ε└╟ └√┐δ╣ⁿ└º╕ª
┴ª╟╤╟╧▒Γ└º╟╪ ╝│┴ñ ╝╜╝╟└╠│¬ <code>.htaccess</code> ╞─└╧└╗
╗τ┐δ╟╧┤┬ ╣µ╣²└╗ ╝│╕φ╟╤┤┘.</p>
</div>
<div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#types">╝│┴ñ ╝╜╝╟└╟ ┴╛╖∙</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#file-and-web">╞─└╧╜├╜║┼█░· └Ñ░°░ú</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">░í╗≤╚ú╜║╞«</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#proxy">╟┴╖╧╜├</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#whatwhere">╛╚┐í ╛ε╢▓ ┴÷╜├╛ε╕ª ╗τ┐δ╟╥ ╝÷
└╓│¬?</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#mergin">╝╜╝╟╡Θ└╠ ░ß╟╒╟╧┤┬ ╣µ╣²</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="types" id="types">╝│┴ñ ╝╜╝╟└╟ ┴╛╖∙</a></h2>
<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>
<p>╝╜╝╟┐í┤┬ ╡╬░í┴÷ ┴╛╖∙░í └╓┤┘. ┤δ║╬║╨└║ ╕┼┐Σ├╗╕╢┤┘ ├│╕«╡╚┤┘.
╟╪┤τ╟╧┤┬ ┐Σ├╗┐í╕╕ ╛╚┐í ╞≈╟╘╟╤ ┴÷╜├╛ε╕ª └√┐δ╟╤┤┘. ╣▌┤δ╖╬, <code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code>░· <code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code>└║ ╝¡╣÷░í
╜├└█╟╥╢º┐═ ▓¿┴·╢º╕╕ ├│╕«╟╤┤┘. ╜├└█╟╥╢º ╗≤┼┬░í ┬ⁿ└╠╕Θ ╛╚┐í └╓┤┬
┴÷╜├╛ε░í ╕≡╡τ ┐Σ├╗┐í └√┐δ╡╚┤┘. ┬ⁿ└╠ ╛╞┤╧╕Θ ╛╚┐í └╓┤┬ ┴÷╜├╛ε┤┬
╣½╜├╟╤┤┘.</p>
<p><code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code>
┴÷╜├╛ε┤┬ <code>httpd</code> ╕φ╖╔╟α┐í └√└²╟╤ ╞─╢≤╣╠┼═░í └╓┤┬
░µ┐∞┐í╕╕ ╛╚┐í ╞≈╟╘╟╤ ┴÷╜├╛ε╕ª └√┐δ╟╤┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ,
╝¡╣÷╕ª <code>httpd -DClosedForNow</code>╖╬ ╜├└█╟╥ ░µ┐∞┐í╕╕
╕≡╡τ ┐Σ├╗└╠ ┤┘╕Ñ ╗τ└╠╞«╖╬ ╕«┤┘└╠╖║╝╟╡╚┤┘:</p>
<div class="example"><p><code>
<IfDefine ClosedForNow><br />
Redirect / http://otherserver.example.com/<br />
</IfDefine>
</code></p></div>
<p><code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code>
┴÷╜├╛ε╡╡ ╞»┴ñ ╕≡╡Γ└╠ ╝¡╣÷┐í ╞≈╟╘╡╚ ░µ┐∞┐í╕╕ ╛╚┐í ╡τ ┴÷╜├╛ε╕ª
└√┐δ╟╤┤┘┤┬ ┴í└╗ ┴ª┐▄╟╧░φ┤┬ ╕┼┐∞ ║±╜┴╟╧┤┘. ╕≡╡Γ└╗ ╝¡╣÷┐í ┴ñ└√└╕╖╬
──╞─└╧╟╧░┼│¬ ╡┐└√└╕╖╬ ──╞─└╧╟╤╚─ ╝│┴ñ╞─└╧ ╛╒┐í <code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code> ┴┘└╠ └╓╛ε╛▀ ╟╤┤┘. └╠
┴÷╜├╛ε┤┬ ╞»┴ñ ╕≡╡Γ└╟ ╝│─í└»╣½┐í ╡√╢≤ ╝│┴ñ╞─└╧└╠ ┤┘╕ª ╟╩┐Σ░í
└╓└╗╢º╕╕ ╗τ┐δ╟╪╛▀ ╟╤┤┘. ╕≡╡Γ└╠ ╛°┤┬ ░µ┐∞ └»┐δ╟╤ ┐└╖∙╣«└╠ │¬┐└┴÷╛╩└╗
╝÷ └╓▒Γ ╢º╣«┐í ╛≡┴ª│¬ ╗τ┐δ╟╧▒µ ┐°╟╧┤┬ ┴÷╜├╛ε╕ª ╛╚┐í ╡╬╕Θ ╛╚╡╚┤┘.</p>
<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> ┴÷╜├╛ε╕ª
├│╕«╟╤┤┘.</p>
<div class="example"><p><code>
<IfModule mod_mime_magic.c><br />
MimeMagicFile conf/magic<br />
</IfModule>
</code></p></div>
<p><code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code>░·
<code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code>└╟
░╦╗τ ╛╒┐í "!"└╗ ║┘┐⌐ ┴╢░╟└╗ ┐¬└╕╖╬ ╟╥ ╝÷ └╓┤┘. ╢╟, ┐⌐╖» ╝╜╝╟╡Θ└╗
░π├─╝¡ ╗τ┐δ╟╧┐⌐ ┤⌡ ║╣└Γ╟╤ ╚┐░·╕ª ╛≥└╗ ╝÷ └╓┤┘.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="file-and-web" id="file-and-web">╞─└╧╜├╜║┼█░· └Ñ░°░ú</a></h2>
<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>
<h3><a name="filesystem" id="filesystem">╞─└╧╜├╜║┼█ ╝╜╝╟</a></h3>
<p><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>┐═
<code class="directive"><a href="./mod/core.html#files"><Files></a></code> ┴÷╜├╛ε┐═
┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╧┤┬ ┴÷╜├╛ε┤┬ ╞─└╧╜├╜║┼█└╟ ╞»┴ñ ║╬║╨┐í ┴÷╜├╛ε╕ª
└√┐δ╟╤┤┘. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ┴÷╜├╛ε┐í ╞≈╟╘╡╚ ┴÷╜├╛ε╡Θ└║
┴÷┴ñ╟╤ ╞─└╧╜├╜║┼█ ╡≡╖║┼Σ╕«┐═ ▒╫ ╟╧└º ╡≡╖║┼Σ╕«┐í └√┐δ╡╚┤┘. <a href="howto/htaccess.html">.htaccess ╞─└╧</a>└╗ ╗τ┐δ╟╪╡╡ ░ß░·┤┬
░░┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ, ╡≡╖║┼Σ╕« ╕±╖╧(index)└╠
<code>/var/web/dir1</code> └╠╟╧ ╡≡╖║┼Σ╕«┐í╝¡ ╡≡╖║┼Σ╕« ╕±╖╧(index)└╠
░í┤╔╟╧┤┘.</p>
<div class="example"><p><code>
<Directory /var/web/dir1><br />
Options +Indexes<br />
</Directory>
</code></p></div>
<p><code class="directive"><a href="./mod/core.html#files"><Files></a></code> ╝╜╝╟┐í ╞≈╟╘╡╚ ┴÷╜├╛ε╡Θ└║ ╛ε╢▓
╡≡╖║┼Σ╕«┐í └╓┤┬┴÷ ░ⁿ░Φ╛°└╠ ┴÷┴ñ╟╤ └╠╕º└╗ ░í┴° ╞─└╧┐í └√┐δ╡╚┤┘.
╝│┴ñ╞─└╧└╟ ┴╓╝│┴ñ║╬║╨┐í └╓┤┬ ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ, └σ╝╥┐═
░ⁿ░Φ╛°└╠ <code>private.html</code>└╠╢⌡ └╠╕º└╗ ╟╤ ╞─└╧└╟ ┴ó▒┘└╗
░┼║╬╟╤┤┘.</p>
<div class="example"><p><code>
<Files private.html><br />
Order allow,deny<br />
Deny from all<br />
</Files>
</code></p></div>
<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> ╝╜╝╟└╗ ░░└╠
╗τ┐δ╟╤┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ,
<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>
<div class="example"><p><code>
<Directory /var/web/dir1><br />
<Files private.html><br />
Order allow,deny<br />
Deny from all<br />
</Files><br />
</Directory>
</code></p></div>
<h3><a name="webspace" id="webspace">└Ñ░°░ú ╝╜╝╟</a></h3>
<p><code class="directive"><a href="./mod/core.html#location"><Location></a></code>
┴÷╜├╛ε┐═ └╠┐í ╟╪┤τ╟╧┤┬ ┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╧┤┬ ┴÷╜├╛ε┤┬ ╣▌┤δ╖╬
╞»┴ñ └Ñ░°░ú└╟ ╝│┴ñ└╗ ╣┘▓█┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ, /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>
<div class="example"><p><code>
<Location /private><br />
Order Allow,Deny<br />
Deny from all<br />
</Location>
</code></p></div>
<p><code class="directive"><a href="./mod/core.html#location"><Location></a></code>
┴÷╜├╛ε┤┬ ╞─└╧╜├╜║┼█┐í ┤δ└└╟╥ ╟╩┐Σ░í ╛°┤┘. ┤┘└╜ ┐╣┤┬ ╛ε╢╗░╘ ╞»┴ñ
URL└╗ <code class="module"><a href="./mod/mod_status.html">mod_status</a></code>░í ┴ª░°╟╧┤┬ ╛╞╞──í │╗║╬ ╟┌╡Θ╖»╖╬
┤δ└└╜├┼░┤┬┴÷╕ª ║╕┐⌐┴╪┤┘. ╞─└╧╜├╜║┼█┐í <code>server-status</code>╢≤┤┬
╞─└╧└║ ╟╩┐Σ╛°┤┘.</p>
<div class="example"><p><code>
<Location /server-status><br />
SetHandler server-status<br />
</Location>
</code></p></div>
<h3><a name="wildcards" id="wildcards">┐═└╧╡σ─½╡σ┐═ ┴ñ▒╘╟Ñ╟÷╜─</a></h3>
<p><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>,
<code class="directive"><a href="./mod/core.html#files"><Files></a></code>,
<code class="directive"><a href="./mod/core.html#location"><Location></a></code>
┴÷╜├╛ε┐í╝¡ C ╟Ñ┴╪ ╞─└╠║Ω╖»╕«└╟ <code>fnmatch</code>┐═ ░░└║
╜⌐┐í╝¡ ╗τ┐δ╟╧┤┬ ┐═└╧╡σ─½╡σ ╣«└┌╕ª ╗τ┐δ╟╥ ╝÷ └╓┤┘.
"*" ╣«└┌┤┬ ╛ε╢▓ ╣«└┌┐¡└╠╢≤╡╡ │¬┼╕│╗░φ, "?" ╣«└┌┤┬ ╛ε╢▓ ╣«└┌ ╟╤░│╕ª
│¬┼╕│╗╕τ, "[<em>seq</em>]"┤┬ <em>seq</em> ┴▀┐í ╟╤ ╣«└┌╕ª │¬┼╕│╜┤┘.
╛ε╢▓ ┐═└╧╡σ─½╡σ╡╡ "/" ╣«└┌╕ª │¬┼╕│╗┴÷┤┬ ╕°╟╤┤┘. ▒╫╖í╝¡ └╠ ╣«└┌┤┬
┴≈┴ó ╗τ┐δ╟╪╛▀ ╟╤┤┘.</p>
<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>╕ª ╗τ┐δ╟╥
╝÷ └╓┤┘. ▒╫╖»│¬ ╛╞╖í ╝│┴ñ└╟ ░ß╟╒┐í ░ⁿ╟╤ └²┐í╝¡ ┴ñ▒╘╟Ñ╟÷╜─ ╝╜╝╟└╗
╗τ┐δ╟╧╕Θ ┴÷╜├╛ε░í └√┐δ╡╟┤┬ ╣µ╣²└╠ ╛ε╢╗░╘ ║»╟╧┤┬┴÷ ╗∞╞∞║┴╢≤.</p>
<p>╕≡╡τ ╗τ┐δ└┌ ╡≡╖║┼Σ╕« ╝│┴ñ└╗ ║»░µ╟╧┤┬ ║±┴ñ▒╘╟Ñ╟÷╜─ ┐═└╧╡σ─½╡σ
╝╜╝╟└║ ┤┘└╜░· ░░┤┘:</p>
<div class="example"><p><code>
<Directory /home/*/public_html><br />
Options Indexes<br />
</Directory>
</code></p></div>
<p>┴ñ▒╘╟Ñ╟÷╜─ ╝╜╝╟└╗ ╗τ┐δ╟╧┐⌐ ╟╤╣°┐í ┐⌐╖» ┴╛╖∙└╟ ▒╫╕▓╞─└╧┐í
┤δ╟╤ ┴ó▒┘└╗ ░┼║╬╟╥ ╝÷ └╓┤┘:</p>
<div class="example"><p><code>
<FilesMatch \.(?i:gif|jpe?g|png)$><br />
Order allow,deny<br />
Deny from all<br />
</FilesMatch>
</code></p></div>
<h3><a name="whichwhen" id="whichwhen">╣½╛∙└╗ ╗τ┐δ╟╧│¬</a></h3>
<p>╞─└╧╜├╜║┼█ ╝╜╝╟░· └Ñ░°░ú ╝╜╝╟ ┴▀ ╟╧│¬╕ª ╝▒┼├╟╧┤┬ ░═└║ ╜╟┴ª╖╬
╕┼┐∞ ╜▒┤┘. ╞─└╧╜├╜║┼█┐í └╓┤┬ ░┤├╝┐í ┴÷╜├╛ε╕ª └√┐δ╟╥╢º┤┬ ╟╫╗≤
<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>│¬
<code class="directive"><a href="./mod/core.html#files"><Files></a></code>╕ª
╗τ┐δ╟╤┤┘. (╡Ñ└╠┼╕║ú└╠╜║┐í╝¡ ╗²╝║╟╤ └Ñ╞Σ└╠┴÷┐═ ░░└╠) ╞─└╧╜├╜║┼█┐í
└╓┴÷ ╛╩┤┬ ░┤├╝┐í ┴÷╜├╛ε╕ª └√┐δ╟╥╢º┤┬ <code class="directive"><a href="./mod/core.html#location"><Location></a></code>└╗ ╗τ┐δ╟╤┤┘.</p>
<p>╞─└╧╜├╜║┼█┐í └╓┤┬ ░┤├╝└╟ ┴ó▒┘└╗ ┴ª╟╤╟╧▒Γ└º╟╪ <code class="directive"><a href="./mod/core.html#location"><Location></a></code>└╗ ╗τ┐δ╟╧╕Θ
└²┤δ ╛╚╡╚┤┘. ┐⌐╖» ┤┘╕Ñ └Ñ░°░ú └σ╝╥(URL)░í ░░└║ ╞─└╧╜├╜║┼█ └σ╝╥┐í
┤δ└└╡╔ ╝÷ └╓└╕╣╟╖╬, ░╔╛ε╡╨ ┴ª╟╤└╗ ┐∞╚╕╟╥ ╝÷ └╓▒Γ ╢º╣«└╠┤┘. ┤┘└╜
╝│┴ñ└╟ ┐╣╕ª ╗∞╞∞║╕└┌:</p>
<div class="example"><p><code>
<Location /dir/><br />
Order allow,deny<br />
Deny from all<br />
</Location>
</code></p></div>
<p>└╠ ╝│┴ñ└║ <code>http://yoursite.example.com/dir/</code>└╗
┐Σ├╗╟╤┤┘╕Θ └▀ └█╡┐╟╤┤┘. ▒╫╖»│¬ ┤δ╝╥╣«└┌╕ª ▒╕║░╟╧┴÷╛╩┤┬ ╞─└╧╜├╜║┼█└╗
╗τ┐δ╟╤┤┘╕Θ ╛ε╢╗░╘╡╟│¬?
<code>http://yoursite.example.com/DIR/</code>└╗ ┐Σ├╗╟╧┐⌐ ╜▒░╘
┴ª╟╤└╗ ┐∞╚╕╟╥ ╝÷ └╓┤┘. ╣▌┤δ╖╬ <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ┴÷╜├╛ε┤┬ ╛ε╢╗░╘ ┐Σ├╗╟╧┐┤┤┬┴÷
░ⁿ░Φ╛°└╠ ▒╫ └σ╝╥┐í╝¡ ╝¡║±╜║╡╟┤┬ │╗┐δ┐í └√┐δ╡╚┤┘. (┐╣┐▄┤┬ ╞─└╧╜├╜║┼█
╕╡┼⌐╕ª ╗τ┐δ╟╧┤┬ ░µ┐∞┤┘. ╜╔║╝╕╡┼⌐╕ª ╗τ┐δ╟╧┐⌐ ╟╤ ╡≡╖║┼Σ╕«╕ª
╞─└╧╜├╜║┼█└╟ ┐⌐╖» └σ╝╥┐í ╡╤ ╝÷ └╓┤┘. <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ┴÷╜├╛ε┤┬ ╜╔║╝╕╡┼⌐╕ª ╡√╢≤░ú┤┘.
▒╫╖»╣╟╖╬ │⌠└║ ╝÷┴╪└╟ ║╕╛╚└╗ └º╟╪╝¡┤┬ └√└²╟╤ <code class="directive"><a href="./mod/core.html#options">Options</a></code> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐ ╜╔║╝╕╡┼⌐╕ª
╣½╜├╟╪╛▀ ╟╤┤┘.)</p>
<p>╛╞╕╢╡╡ ┤τ╜┼└║ ┤δ╝╥╣«└┌╕ª ▒╕║░╟╧┤┬ ╞─└╧╜├╜║┼█└╗ ╗τ┐δ╟╧╣╟╖╬
└╠╖▒ └╧└╠ └╧╛ε│¬┴÷ ╛╩┤┬┤┘░φ ╗²░ó╟╥┴÷╡╡ ╕≡╕Ñ┤┘. ▒╫╖»│¬ ┤┘╕Ñ
╣µ╣²└╕╖╬╡╡ ┐⌐╖» └Ñ░°░ú └º─í░í ╟╤ ╞─└╧╜├╜║┼█ └º─í┐í ┤δ└└╡╔ ╝÷
└╓└╜└╗ ▒Γ╛∩╟╧╢≤. ▒╫╖í╝¡ ░í┤╔╟╧╕Θ ╟╫╗≤ ╞─└╧╜├╜║┼█ ╝╜╝╟└╗ ╗τ┐δ╟╪╛▀
╟╤┤┘. ▒╫╖»│¬ └╠ ▒╘─ó┐í ┐╣┐▄░í ╟╧│¬ └╓┤┘. ╝│┴ñ ┴ª╟╤└╗
<code><Location /></code> ╝╜╝╟┐í ╡╬╕Θ └╠ ╝╜╝╟└╠ ╞»┴ñ
URL└╠ ╛╞┤╤ ╕≡╡τ ┐Σ├╗┐í └√┐δ╡╟╣╟╖╬ ┐╧║«╟╧░╘ ╛╚└ⁿ╟╧┤┘.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="virtualhost" id="virtualhost">░í╗≤╚ú╜║╞«</a></h2>
<p><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
╝╜╝╟└║ ╞»┴ñ ╚ú╜║╞«┐í └√┐δ╡╟┤┬ ┴÷╜├╛ε╡Θ└╗ ╞≈╟╘╟╤┤┘. └╠┤┬ ╟╤
──╟╗┼═┐í╝¡ ░ó░ó ┤┘╕Ñ ╝│┴ñ└╗ ╗τ┐δ╟╤ ┐⌐╖» ╚ú╜║╞«╕ª ╝¡║±╜║╟╥╢º
└»┐δ╟╧┤┘. ┤⌡ └┌╝╝╟╤ ┴ñ║╕┤┬ <a href="vhosts/">░í╗≤╚ú╜║╞« ╣«╝¡</a>╕ª
┬ⁿ░φ╟╧╢≤.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="proxy" id="proxy">╟┴╖╧╜├</a></h2>
<p><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>
╝╜╝╟└║ ┴÷┴ñ╟╤ URL┐í ┤δ╟╪ <code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code> ╟┴╖╧╜├ ╝¡╣÷╕ª
░┼├─ ┴ó▒┘╟╧┤┬ ░µ┐∞┐í╕╕ └√┐δ╡╚┤┘. ┤┘└╜ ╝│┴ñ└╗ ┐╣╖╬ ╡Θ╕Θ, ╟┴╖╧╜├
╝¡╣÷╕ª ┼δ╟╪ <code>cnn.com</code> └Ñ╗τ└╠╞«┐í ┴ó▒┘╟╥ ╝÷ ╛°┤┘.</p>
<div class="example"><p><code>
<Proxy http://cnn.com/*><br />
Order allow,deny<br />
Deny from all<br />
</Proxy>
</code></p></div>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="whatwhere" id="whatwhere">╛╚┐í ╛ε╢▓ ┴÷╜├╛ε╕ª ╗τ┐δ╟╥ ╝÷
└╓│¬?</a></h2>
<p>╛ε╢▓ ╝│┴ñ ╝╜╝╟╛╚┐í ╗τ┐δ╟╥ ╝÷ └╓┤┬ ┴÷╜├╛ε╕ª ╛╦╖┴╕Θ ┴÷╜├╛ε└╟
<a href="mod/directive-dict.html#Context">╗τ┐δ└σ╝╥</a>╕ª ╚«└╬╟╧╢≤.
<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>┐í╝¡
╗τ┐δ░í┤╔╟╤ ┴÷╜├╛ε┤┬ <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> ╝╜╝╟┐í╝¡╡╡ ╗τ┐δ░í┤╔╟╧┤┘.
▒╫╖»│¬, ┐╣┐▄░í └╓┤┘.</p>
<ul>
<li><code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code> ┴÷╜├╛ε┤┬
<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>
╝╜╝╟┐í╝¡╕╕ ╗τ┐δ╟╥ ╝÷ └╓┤┘.</li>
<li><code>FollowSymLinks</code>, <code>SymLinksIfOwnerMatch</code>,
<code class="directive"><a href="./mod/core.html#options">Options</a></code>┤┬ <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ╝╜╝╟└╠│¬
<code>.htaccess</code> ╞─└╧┐í╝¡╕╕ ╗τ┐δ╟╥ ╝÷ └╓┤┘.</li>
<li><code class="directive"><a href="./mod/core.html#options">Options</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>
╝╜╝╟┐í╝¡ ╗τ┐δ╟╥ ╝÷ ╛°┤┘.</li>
</ul>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
<h2><a name="mergin" id="mergin">╝╜╝╟╡Θ└╠ ░ß╟╒╟╧┤┬ ╣µ╣²</a></h2>
<p>╝│┴ñ ╝╜╝╟└║ ╕┼┐∞ ╞»║░╟╤ ╣µ╣²└╕╖╬ └√┐δ╡╚┤┘. └╠ ╝°╝¡░í ╝│┴ñ
┴÷╜├╛ε╕ª ╟╪╝«╟╧┤┬ ╣µ╣²┐í ┴▀┐Σ╟╤ ┐╡╟Γ└╗ ┴╓▒Γ╢º╣«┐í └╠ ╣µ╣²└╗
└╠╟╪╟╧┤┬ ░═└╠ ┴▀┐Σ╟╧┤┘.</p>
<p>░ß╟╒╟╧┤┬ ╝°╝¡┤┬:</p>
<ol>
<li> (┴ñ▒╘╟Ñ╟÷╜─└╗ ╗τ┐δ╟╧┴÷╛╩┤┬) <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>┐═ .htaccess┤┬ ╡┐╜├┐í
└╧╛ε│¡┤┘ (░µ┐∞┐í ╡√╢≤ .htaccess└╠ <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> (▒╫╕«░φ
<code><Directory ~></code>)</li>
<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>
<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>
</ol>
<p><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>╕ª ┴ª┐▄╟╧░φ ░ó ╝╜╝╟╡Θ└╗
╝│┴ñ╞─└╧┐í │¬┐┬ ╝°╝¡┤δ╖╬ ├│╕«╡╚┤┘. (└º└╟ ╝°╝¡ 1) <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>┤┬ ╡≡╖║┼Σ╕«
│╗┐δ└╠ ░í└σ ┬¬└║ ░═┐í╝¡ ▒Σ┬╩└╕╖╬ ├│╕«╡╚┤┘. ▒╫╖í╝¡ ┐╣╕ª ╡Θ╛ε,
<code><Directory /var/web/dir></code>└╗
<code><Directory /var/web/dir/subdir></code> └╠└ⁿ┐í
├│╕«╟╤┤┘. ░░└║ ╡≡╖║┼Σ╕«╕ª ┴÷─¬╟╧┤┬ ┐⌐╖» <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code> ╝╜╝╟└╠
└╓┤┘╕Θ └╠╡Θ└╗ ╝│┴ñ╞─└╧ ╝°╝¡┤δ╖╬ ├│╕«╟╤┤┘. <code class="directive"><a href="./mod/core.html#include">Include</a></code> ┴÷╜├╛ε╖╬ ╞≈╟╘╟╤ ╝│┴ñ└║
<code class="directive"><a href="./mod/core.html#include">Include</a></code> ┴÷╜├╛ε └º─í┐í
╞≈╟╘╟╤ ╞─└╧ │╗┐δ└╠ └╓┤┬ ░═├│╖│ ├│╕«╟╤┤┘.</p>
<p><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> ╝╜╝╟ ╛╚┐í ╞≈╟╘╡╚ ╝╜╝╟└║
░í╗≤╚ú╜║╞« ┴ñ└╟ ╣█┐í └╓┤┬ ╟╪┤τ ╝╜╝╟ <em>└╠╚─┐í</em> └√┐δ╡╚┤┘.
▒╫╖í╝¡ ░í╗≤╚ú╜║╞« ╛╚┐í╝¡ ┴╓╝¡╣÷└╟ ╝│┴ñ╗τ╟╫└╗ ╝÷┴ñ╟╥ ╝÷ └╓┤┘.</p>
<p>┤┘└╜┐í │¬┐└┤┬ ╝╜╝╟└║ └╠└ⁿ ╝╜╝╟└╟ ░ß░·╕ª ╝÷┴ñ╟╤┤┘.</p>
<div class="note"><h3>▒Γ╝·└√ ┴╓└╟</h3>
╜╟┴ª╖╬
<code><Location></code>/<code><LocationMatch></code>┤┬
(<code>Aliases</code>┐═ <code>DocumentRoot</code>╕ª ╗τ┐δ╟╧┐⌐
URL└╗ ╞─└╧╕φ└╕╖╬ ║»╚»╟╧┤┬) └╠╕º╣°┐¬ ┤▄░Φ └╠└ⁿ┐í ├│╕«╡╚┤┘.
║»┐¬└╠ │í│¡ └╠╚─┐í┤┬ ┐╧└ⁿ╚≈ ╣½╜├╟╤┤┘.
</div>
<h3><a name="merge-examples" id="merge-examples">┐╣┴ª</a></h3>
<p>┤┘└╜└║ ░π╟╒╟╧┤┬ ╝°╝¡╕ª ╝│╕φ╟╧┤┬ ┐╣┤┘. └╠╡Θ ╕≡╡╬ ┐Σ├╗┐í
└√┐δ╡╚┤┘░φ ░í┴ñ╟╧╕Θ ┴÷╜├╛ε┤┬ A > B > C > D > E
╝°╝¡╖╬ ├│╕«╡╚┤┘.</p>
<div class="example"><p><code>
<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 />
</code></p></div>
<p>┤⌡ ╟÷╜╟└√└╬ ┐╣┤┬ ┤┘└╜░· ░░┤┘. <code class="directive"><a href="./mod/core.html#location"><Location></a></code> ╝╜╝╟└╗ │¬┴▀┐í ├│╕«╟╧╣╟╖╬
<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>
╝╜╝╟┐í └╓┤┬ ┴ó▒┘┴ª╟╤░· ░ⁿ░Φ╛°└╠ ╝¡╣÷┐í ╣½┴ª╟╤ ┴ó▒┘└╗ ░í┤╔╟╧┤┘.
┴∩, ░ß╟╒╟╧┤┬ ╝°╝¡┤┬ ┴▀┐Σ╟╧╣╟╖╬ ┴╓└╟╟╧╢≤!</p>
<div class="example"><p><code>
<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>
</code></p></div>
</div></div>
<div class="bottomlang">
<p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="./en/sections.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="./ja/sections.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
<a href="./ko/sections.html" title="Korean"> ko </a></p>
</div><div id="footer">
<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
<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>
</body></html>