Current Path : /usr/local/apache22/share/doc/apache2/mod/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/apache22/share/doc/apache2/mod/mod_authz_host.html.ko.euc-kr |
<?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> <meta content="text/html; charset=EUC-KR" http-equiv="Content-Type" /> <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>mod_authz_host - Apache HTTP Server Version 2.2</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 rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> <script src="../style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="../images/favicon.ico" rel="shortcut icon" /><link href="http://httpd.apache.org/docs/current/mod/mod_authz_host.html" rel="canonical" /></head> <body> <div id="page-header"> <p class="menu"><a href="../mod/">¸ðµâ</a> | <a href="../mod/directives.html">Áö½Ã¾îµé</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">¿ë¾î</a> | <a href="../sitemap.html">»çÀÌÆ®¸Ê</a></p> <p class="apache">Apache HTTP Server Version 2.2</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/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">¸ðµâ</a></div> <div id="page-content"> <div class="retired"><h4>Please note</h4> <p> This document refers to a legacy release (<strong>2.2</strong>) of Apache httpd. The active release (<strong>2.4</strong>) is documented <a href="http://httpd.apache.org/docs/current">here</a>. If you have not already upgraded, please follow <a href="http://httpd.apache.org/docs/current/upgrading.html">this link</a> for more information.</p> <p>You may follow <a href="http://httpd.apache.org/docs/current/mod/mod_authz_host.html">this link</a> to go to the current version of this document.</p></div><div id="preamble"><h1>¾ÆÆÄÄ¡ ¸ðµâ mod_authz_host</h1> <div class="toplang"> <p><span>°¡´ÉÇÑ ¾ð¾î: </span><a href="../en/mod/mod_authz_host.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/mod/mod_authz_host.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../ja/mod/mod_authz_host.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | <a href="../ko/mod/mod_authz_host.html" title="Korean"> ko </a></p> </div> <div class="outofdate">ÀÌ ¹®¼´Â ÃÖ½ÅÆÇ ¹ø¿ªÀÌ ¾Æ´Õ´Ï´Ù. ÃÖ±Ù¿¡ º¯°æµÈ ³»¿ëÀº ¿µ¾î ¹®¼¸¦ Âü°íÇϼ¼¿ä.</div> <table class="module"><tr><th><a href="module-dict.html#Description">¼³¸í:</a></th><td>È£½ºÆ® (À̸§À̳ª IP ÁÖ¼Ò)¸¦ »ç¿ëÇÑ ±×·ì ±ÇÇѺο©</td></tr> <tr><th><a href="module-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> <tr><th><a href="module-dict.html#ModuleIdentifier">¸ðµâ¸í:</a></th><td>authz_host_module</td></tr> <tr><th><a href="module-dict.html#SourceFile">¼Ò½ºÆÄÀÏ:</a></th><td>mod_authz_host.c</td></tr> <tr><th><a href="module-dict.html#Compatibility">Áö¿ø:</a></th><td>¾ÆÆÄÄ¡ 2.1 ÀÌÈĺÎÅÍ</td></tr></table> <h3>¿ä¾à</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> ¼½¼Ç°ú <code><a href="core.html#accessfilename">.htaccess</a></code> ÆÄÀÏ¿¡¼ ¼¹öÀÇ Æ¯Á¤ ºÎºÐÀÇ Á¢±ÙÀ» Á¦¾îÇϱâÀ§ÇØ <code class="module"><a href="../mod/mod_authz_host.html">mod_authz_host</a></code>°¡ Á¦°øÇÏ´Â Áö½Ã¾î¸¦ »ç¿ëÇÑ´Ù. Ŭ¶óÀ̾ðÆ®ÀÇ È£½ºÆ®¸í, IP ÁÖ¼Ò, <a href="../env.html">ȯ°æº¯¼ö</a>¿¡ ±â·ÏµÈ ¿äûÀÇ Æ¯¼º¿¡ µû¶ó Á¢±ÙÀ» Á¦¾îÇÑ´Ù. <code class="directive"><a href="#allow">Allow</a></code>¿Í <code class="directive"><a href="#deny">Deny</a></code> Áö½Ã¾î´Â ¾î¶² Ŭ¶óÀ̾ðÆ®°¡ ¼¹ö¿¡ Á¢±ÙÇÒ ¼ö ÀÖ´ÂÁö¸¦ Áö½ÃÇÏ°í, <code class="directive"><a href="#order">Order</a></code> Áö½Ã¾î´Â ±âº»ÀûÀ¸·Î Á¢±ÙÀ» Çã¿ëÇÒÁö °ÅºÎÇÒÁö ¿©ºÎ¿Í ¾î¶»°Ô <code class="directive"><a href="#allow">Allow</a></code> Áö½Ã¾î¿Í <code class="directive"><a href="#deny">Deny</a></code> Áö½Ã¾î°¡ ¼·Î ¿µÇâÀ» ¹ÌÄ¡´ÂÁö °áÁ¤ÇÑ´Ù.</p> <p>È£½ºÆ®±â¹Ý Á¢±ÙÁ¦ÇÑ°ú ¾ÏÈ£±â¹Ý ÀÎÁõÀ» µ¿½Ã¿¡ »ç¿ëÇÒ ¼öµµ ÀÖ´Ù. ÀÌ °æ¿ì <code class="directive"><a href="../mod/core.html#satisfy">Satisfy</a></code> Áö½Ã¾î¸¦ »ç¿ëÇÏ¿© ¾î¶»°Ô µÎ Á¦ÇÑÀÌ ¼·Î ¿µÇâÀ» ¹ÌÄ¡´ÂÁö °áÁ¤ÇÑ´Ù.</p> <p>ÀϹÝÀûÀ¸·Î Á¢±ÙÁ¦ÇÑ Áö½Ã¾î´Â (<code>GET</code>, <code>PUT</code>, <code>POST</code> µî) ¸ðµç ¸Þ¼µå¿¡ Àû¿ëµÇ¸ç, ÀÌ ÇൿÀº ´ëºÎºÐÀÇ °æ¿ì ¹Ù¶÷Á÷ÇÏ´Ù. ±×·¯³ª <code class="directive"><a href="../mod/core.html#limit"><Limit></a></code> ¼½¼Ç¾È¿¡ Áö½Ã¾î¸¦ »ç¿ëÇÏ¿© ƯÁ¤ ¸Þ¼µå¿¡¸¸ Á¦ÇÑÇÒ ¼ö ÀÖ´Ù.</p> </div> <div id="quickview"><h3 class="directives">Áö½Ã¾îµé</h3> <ul id="toc"> <li><img alt="" src="../images/down.gif" /> <a href="#allow">Allow</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#deny">Deny</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#order">Order</a></li> </ul> <h3>Âü°í</h3> <ul class="seealso"> <li><code class="directive"><a href="../mod/core.html#satisfy">Satisfy</a></code></li> <li><code class="directive"><a href="../mod/core.html#require">Require</a></code></li> </ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Allow" id="Allow">Allow</a> <a name="allow" id="allow">Áö½Ã¾î</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>¼¹öÀÇ ÀϺο¡ Á¢±ÙÇÒ ¼ö Àִ ȣ½ºÆ®¸¦ ÁöÁ¤ÇÑ´Ù</td></tr> <tr><th><a href="directive-dict.html#Syntax">¹®¹ý:</a></th><td><code> Allow from all|<var>host</var>|env=<var>env-variable</var> [<var>host</var>|env=<var>env-variable</var>] ...</code></td></tr> <tr><th><a href="directive-dict.html#Context">»ç¿ëÀå¼Ò:</a></th><td>directory, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Override ¿É¼Ç:</a></th><td>Limit</td></tr> <tr><th><a href="directive-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">¸ðµâ:</a></th><td>mod_authz_host</td></tr> </table> <p><code class="directive">Allow</code> Áö½Ã¾î´Â ¾î¶² È£½ºÆ®°¡ ¼¹öÀÇ ÀϺο¡ Á¢±ÙÇÒ ¼ö ÀÖ´ÂÁö Áö½ÃÇÑ´Ù. È£½ºÆ®¸í, IP ÁÖ¼Ò, IP ÁÖ¼Ò¿µ¿ª, ȯ°æº¯¼ö¿¡ ±â·ÏµÈ ´Ù¸¥ Ư¼º¿¡ µû¶ó Á¢±ÙÀ» Á¶ÀýÇÒ ¼ö ÀÖ´Ù.</p> <p>ÀÌ Áö½Ã¾îÀÇ Ã¹¹ø° ¾Æ±Ô¸ÕÆ®´Â Ç×»ó <code>from</code>ÀÌ´Ù. ´ÙÀ½ ¾Æ±Ô¸ÕÆ®¿¡´Â ¼¼°¡Áö Çü½ÄÀÌ ÀÖ´Ù. <code>Allow from all</code>À» »ç¿ëÇϸé, ¾Æ·¡¿¡¼ ¼³¸íÇÒ <code class="directive"><a href="#deny">Deny</a></code>¿Í <code class="directive"><a href="#order">Order</a></code> Áö½Ã¾î ¼³Á¤¿¡ µû¶ó ¸ðµç È£½ºÆ®ÀÇ Á¢±ÙÀ» Çã°¡ÇÑ´Ù. ƯÁ¤ È£½ºÆ®¸¸ ¼¹ö·Î Á¢±ÙÀ» Çã¿ëÇÏ·Á¸é ´ÙÀ½°ú °°Àº Çü½ÄÀ¸·Î <em>host</em>¸¦ Áö½ÃÇÒ ¼ö ÀÖ´Ù:</p> <dl> <dt>È£½ºÆ®¸í (ÀϺÎ)</dt> <dd> <div class="example"><h3>¿¹Á¦:</h3><p><code> Allow from apache.org </code></p></div> <p>È£½ºÆ®¸íÀÌ ÀÌ ¹®ÀÚ¿°ú °°°Å³ª ÀÌ ¹®ÀÚ¿·Î ³¡³ª¸é Á¢±ÙÀ» Çã¿ëÇÑ´Ù. ±×·¡¼ ÀÌ °æ¿ì <code>foo.apache.org</code>´Â ÇØ´çµÇ°í, <code>fooapache.org</code>´Â ÇØ´çµÇÁö ¾Ê´Â´Ù. ÀÌ ¼³Á¤À» »ç¿ëÇÏ¸é ¾ÆÆÄÄ¡´Â <code class="directive"><a href="../mod/core.html#hostnamelookups">HostnameLookups</a></code> Áö½Ã¾î ¼³Á¤°ú °ü°è¾øÀÌ Å¬¶óÀ̾ðÆ® IP ÁÖ¼Ò¸¦ °¡Áö°í Áߺ¹-¿ª DNS °Ë»öÀ» ÇÑ´Ù. Áï, È£½ºÆ®¸íÀ» ã±âÀ§ÇØ IP ÁÖ¼Ò¸¦ ¿ªDNS °Ë»öÀ» ÇÑ ÈÄ, ´Ù½Ã È£½ºÆ®¸íÀ¸·Î °Ë»öÇÏ¿© ¿ø·¡ IP ÁÖ¼Ò¿Í ÀÏÄ¡ÇÏ´ÂÁö È®ÀÎÇÑ´Ù. °á°ú°¡ °°°í È£½ºÆ®¸íÀÌ ¼³Á¤°ª¿¡ ÇØ´çÇϸé, Á¢±ÙÀ» Çã¿ëÇÑ´Ù.</p></dd> <dt>IP ÁÖ¼Ò Àüü</dt> <dd> <div class="example"><h3>¿¹Á¦:</h3><p><code> Allow from 10.1.2.3 </code></p></div> <p>Á¢±ÙÀ» Çã°¡Çϴ ȣ½ºÆ®ÀÇ IP ÁÖ¼Ò</p></dd> <dt>IP ÁÖ¼Ò ÀϺÎ</dt> <dd> <div class="example"><h3>¿¹Á¦:</h3><p><code> Allow from 10.1 </code></p></div> <p>¼ºê³×Æ®¿öÅ©·Î Á¦ÇÑÇϱâÀ§ÇØ IP ÁÖ¼Ò ¾ÕÀÇ 1¿¡¼ 3 ¹ÙÀÌÆ®.</p></dd> <dt>³×Æ®¿öÅ©/³Ý¸Å½ºÅ© ½Ö</dt> <dd> <div class="example"><h3>¿¹Á¦:</h3><p><code> Allow from 10.1.0.0/255.255.0.0 </code></p></div> <p>³×Æ®¿öÅ© a.b.c.d¿Í ³Ý¸Å½ºÅ© w.x.y.z. ´õ ¼¼¹ÐÇÏ°Ô ¼ºê³×Æ®¿öÅ©·Î Á¦ÇÑÇÒ¶§ »ç¿ëÇÑ´Ù.</p></dd> <dt>³×Æ®¿öÅ©/nnn CIDR ±Ô¾à</dt> <dd> <div class="example"><h3>¿¹Á¦:</h3><p><code> Allow from 10.1.0.0/16 </code></p></div> <p>¾ÕÀÇ °æ¿ì¿Í °°Áö¸¸, »óÀ§ nnn°³ ºñÆ® °ªÀÌ 1ÀÎ ³Ý¸Å½ºÅ©¸¦ »ç¿ëÇÑ´Ù.</p></dd> </dl> <p>¸¶Áö¸· ¼¼°¡Áö ¿¹´Â Á¤È®È÷ µ¿ÀÏÇÑ È£½ºÆ®µéÀ» ÁöĪÇÑ´Ù.</p> <p>´ÙÀ½°ú °°ÀÌ IPv6 ÁÖ¼Ò¿Í IPv6 ¼ºê³×Æ®¿öÅ©¸¦ ÁöÁ¤ÇÒ ¼öµµ ÀÖ´Ù:</p> <div class="example"><p><code> Allow from 2001:db8::a00:20ff:fea7:ccea<br /> Allow from 2001:db8::a00:20ff:fea7:ccea/10 </code></p></div> <p><code class="directive">Allow</code> Áö½Ã¾î ¾Æ±Ô¸ÕÆ®ÀÇ ¼¼¹ø° Çü½ÄÀº <a href="../env.html">ȯ°æº¯¼ö</a> À¯¹«¿¡ µû¶ó Á¢±ÙÀ» Á¦¾îÇÑ´Ù. <code>Allow from env=<var>env-variable</var></code>À» »ç¿ëÇϸé, <var>env-variable</var> ȯ°æº¯¼ö°¡ Á¤ÀÇµÈ °æ¿ì Á¢±ÙÀ» Çã°¡ÇÑ´Ù. <code class="module"><a href="../mod/mod_setenvif.html">mod_setenvif</a></code>°¡ Á¦°øÇÏ´Â Áö½Ã¾î¸¦ »ç¿ëÇÏ¿© Ŭ¶óÀ̾ðÆ® ¿äûÀÇ Æ¯¼º¿¡ µû¶ó ÀÚÀ¯·Ó°Ô ȯ°æº¯¼ö¸¦ ¼³Á¤ÇÒ ¼ö ÀÖ´Ù. ±×·¯¹Ç·Î ÀÌ Áö½Ã¾î¸¦ »ç¿ëÇÏ¿© Ŭ¶óÀ̾ðÆ® <code>User-Agent</code> (ºê¶ó¿ìÀú Á¾·ù), <code>Referer</code>, ´Ù¸¥ HTTP ¿äû Çì´õ¿¡ µû¶ó Á¢±ÙÀ» Çã°¡ÇÒ ¼ö ÀÖ´Ù.</p> <div class="example"><h3>¿¹Á¦:</h3><p><code> SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in<br /> <Directory /docroot><br /> <span class="indent"> Order Deny,Allow<br /> Deny from all<br /> Allow from env=let_me_in<br /> </span> </Directory> </code></p></div> <p>ÀÌ °æ¿ì user-agent ¹®ÀÚ¿ÀÌ <code>KnockKnock/2.0</code>À¸·Î ½ÃÀÛÇÏ´Â ºê¶ó¿ìÀúÀÇ Á¢±ÙÀº Çã¿ëÇÏ°í, ³ª¸ÓÁö´Â ¸ðµÎ °ÅºÎÇÑ´Ù.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Deny" id="Deny">Deny</a> <a name="deny" id="deny">Áö½Ã¾î</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>¼¹ö Á¢±ÙÀ» °ÅºÎÇÒ È£½ºÆ®¸¦ ÁöÁ¤ÇÑ´Ù</td></tr> <tr><th><a href="directive-dict.html#Syntax">¹®¹ý:</a></th><td><code> Deny from all|<var>host</var>|env=<var>env-variable</var> [<var>host</var>|env=<var>env-variable</var>] ...</code></td></tr> <tr><th><a href="directive-dict.html#Context">»ç¿ëÀå¼Ò:</a></th><td>directory, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Override ¿É¼Ç:</a></th><td>Limit</td></tr> <tr><th><a href="directive-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">¸ðµâ:</a></th><td>mod_authz_host</td></tr> </table> <p>ÀÌ Áö½Ã¾î¸¦ »ç¿ëÇÏ¿© È£½ºÆ®¸í, IP ÁÖ¼Ò, ȯ°æº¯¼ö¿¡ µû¶ó ¼¹ö Á¢±ÙÀ» Á¦ÇÑÇÒ ¼ö ÀÖ´Ù. <code class="directive">Deny</code> Áö½Ã¾îÀÇ ¾Æ±Ô¸ÕÆ®´Â <code class="directive"><a href="#allow">Allow</a></code> Áö½Ã¾î¿Í µ¿ÀÏÇÏ´Ù.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="Order" id="Order">Order</a> <a name="order" id="order">Áö½Ã¾î</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>±âº»ÀûÀ¸·Î Á¢±ÙÀ» Çã¿ëÇÒÁö °ÅºÎÇÒÁö ¿©ºÎ¿Í <code class="directive">Allow</code>¿Í <code class="directive">Deny</code> 󸮼ø¼¸¦ Á¤ÇÑ´Ù.</td></tr> <tr><th><a href="directive-dict.html#Syntax">¹®¹ý:</a></th><td><code> Order <var>ordering</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">±âº»°ª:</a></th><td><code>Order Deny,Allow</code></td></tr> <tr><th><a href="directive-dict.html#Context">»ç¿ëÀå¼Ò:</a></th><td>directory, .htaccess</td></tr> <tr><th><a href="directive-dict.html#Override">Override ¿É¼Ç:</a></th><td>Limit</td></tr> <tr><th><a href="directive-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">¸ðµâ:</a></th><td>mod_authz_host</td></tr> </table> <p><code class="directive">Order</code> Áö½Ã¾î´Â ±âº»ÀûÀ¸·Î Á¢±ÙÀ» Çã¿ëÇÒÁö °ÅºÎÇÒÁö ¿©ºÎ¿Í <code class="directive"><a href="#allow">Allow</a></code>¿Í <code class="directive"><a href="#deny">Deny</a></code> Áö½Ã¾î 󸮼ø¼¸¦ Á¤ÇÑ´Ù. <var>ordering</var>Àº ´ÙÀ½ Áß ÇϳªÀÌ´Ù</p> <dl> <dt><code>Deny,Allow</code></dt> <dd><code class="directive"><a href="#deny">Deny</a></code> Áö½Ã¾î¸¦ <code class="directive"><a href="#allow">Allow</a></code> Áö½Ã¾î º¸´Ù ¸ÕÀú »ìÆ캻´Ù. ±×¸®°í ±âº»ÀûÀ¸·Î Á¢±ÙÀ» Çã¿ëÇÑ´Ù. <code class="directive"><a href="#deny">Deny</a></code>³ª <code class="directive"><a href="#allow">Allow</a></code> Áö½Ã¾î¿¡ ÇØ´çµÇÁö ¾Ê´Â Ŭ¶óÀ̾ðÆ®ÀÇ Á¢±ÙÀ» Çã¿ëÇÑ´Ù.</dd> <dt><code>Allow,Deny</code></dt> <dd><code class="directive"><a href="#allow">Allow</a></code> Áö½Ã¾î¸¦ <code class="directive"><a href="#deny">Deny</a></code> Áö½Ã¾î º¸´Ù ¸ÕÀú »ìÆ캻´Ù. ±×¸®°í ±âº»ÀûÀ¸·Î Á¢±ÙÀ» Çã¿ëÇÏÁö ¾Ê´Â´Ù. <code class="directive"><a href="#deny">Deny</a></code>³ª <code class="directive"><a href="#allow">Allow</a></code> Áö½Ã¾î¿¡ ÇØ´çµÇÁö ¾Ê´Â Ŭ¶óÀ̾ðÆ®ÀÇ Á¢±ÙÀ» °ÅºÎÇÑ´Ù.</dd> <dt><code>Mutual-failure</code></dt> <dd><code class="directive"><a href="#deny">Deny</a></code> ¸ñ·Ï¿¡´Â ¾È³ª¿À°í <code class="directive"><a href="#allow">Allow</a></code> ¸ñ·Ï¿¡¸¸ ³ª¿À´Â È£½ºÆ®¸¸ Á¢±ÙÀ» Çã¿ëÇÑ´Ù. <code>Order Allow,Deny</code>¿Í °°Àº ÀÏÀ» Çϱ⶧¹®¿¡ »ç¿ëÇÏÁö ¾Ê´Â´Ù.</dd> </dl> <p>Å°¿öµå´Â ½°Ç¥·Î¸¸ ±¸ºÐÇÑ´Ù; »çÀÌ¿¡ <em>°ø¹éÀÌ ÀÖÀ¸¸é ¾ÈµÈ´Ù.</em> ¸ðµç °æ¿ì <code class="directive"><a href="#allow">Allow</a></code>¿Í <code class="directive"><a href="#deny">Deny</a></code> ¸ðµÎ »ìÆ캽À» ¸í½ÉÇ϶ó.</p> <p>¾Æ·¡ ¿¹¿¡¼ apache.org µµ¸ÞÀÎÀÇ ¸ðµç È£½ºÆ®ÀÇ Á¢±ÙÀº Çã¿ëÇÏÁö¸¸, ´Ù¸¥ È£½ºÆ®´Â ¸ðµÎ °ÅºÎÇÑ´Ù.</p> <div class="example"><p><code> Order Deny,Allow<br /> Deny from all<br /> Allow from apache.org </code></p></div> <p>¾Æ·¡ ¿¹¿¡¼ foo.apache.org ÇÏÀ§µµ¸ÞÀο¡ Àִ ȣ½ºÆ®¸¸ °ÅºÎÇÏ°í, apache.org µµ¸ÞÀο¡ Àִ ȣ½ºÆ®´Â ¸ðµÎ Á¢±ÙÀ» Çã¿ëÇÑ´Ù. ±âº»ÀûÀ¸·Î Á¢±ÙÀ» °ÅºÎÇϱ⶧¹®¿¡ apache.org µµ¸ÞÀο¡ ¼ÓÇÏÁö ¾Ê´Â È£½ºÆ®´Â Á¢±ÙÀ» °ÅºÎÇÑ´Ù.</p> <div class="example"><p><code> Order Allow,Deny<br /> Allow from apache.org<br /> Deny from foo.apache.org </code></p></div> <p>¹Ý´ë·Î À§ÀÇ <code class="directive">Order</code>¸¦ <code>Deny,Allow</code>·Î º¯°æÇϸé, ¸ðµç È£½ºÆ®ÀÇ Á¢±ÙÀ» Çã¿ëÇÑ´Ù. ¼³Á¤ÆÄÀÏ¿¡¼ Áö½Ã¾î°¡ ³ª¿À´Â ¼ø¼¿Í °ü°è¾øÀÌ <code>Allow from apache.org</code>¸¦ Á¦ÀÏ ¸¶Áö¸·¿¡ ó¸®ÇÏ¿© <code>Deny from foo.apache.org</code>ÀÇ È¿°ú¸¦ ¹«½ÃÇϱ⠶§¹®ÀÌ´Ù. ¶Ç, ±âº»ÀûÀ¸·Î Á¢±ÙÀ» <em>Çã°¡</em>ÇϹǷΠ<code>apache.org</code> µµ¸ÞÀο¡ ¼ÓÇÏÁö ¾Ê´Â È£½ºÆ®µµ ¸ðµÎ Á¢±ÙÀ» Çã°¡ÇÑ´Ù.</p> <p><code class="directive">Order</code> Áö½Ã¾î´Â ±âº»ÀûÀ¸·Î Á¢±ÙÀ» Çã¿ëÇÒÁö °ÅºÎÇÒÁö¸¦ Á¤Çϱ⶧¹®¿¡ <code class="directive"><a href="#allow">Allow</a></code>³ª <code class="directive"><a href="#deny">Deny</a></code> Áö½Ã¾î¸¦ »ç¿ëÇÏÁö ¾Ê¾Æµµ Á¢±Ù°¡´É ¿©ºÎ¿¡ ¿µÇâÀ» ÁØ´Ù. ¿¹¸¦ µé¾î,</p> <div class="example"><p><code> <Directory /www><br /> <span class="indent"> Order Allow,Deny<br /> </span> </Directory> </code></p></div> <p>´Â ±âº»ÀûÀ¸·Î Á¢±ÙÀ» <em>°ÅºÎ</em>Çϱ⶧¹®¿¡ <code>/www</code> µð·ºÅ丮¿¡ ´ëÇÑ ¸ðµç Á¢±ÙÀ» °ÅºÎÇÑ´Ù.</p> <p><code class="directive">Order</code> Áö½Ã¾î°¡ Á¤ÇÏ´Â Á¢±Ù Áö½Ã¾î 󸮼ø¼´Â ÇØ´ç ¼¹ö¼³Á¤ 󸮴ܰ迡¸¸ ¿µÇâÀ» ÁØ´Ù. Áï, <code class="directive">Order</code> Áö½Ã¾î ¼³Á¤°ú °ü°è¾øÀÌ <code class="directive"><a href="../mod/core.html#location"><Location></a></code> ¼½¼Ç ¾È¿¡ ÀÖ´Â <code class="directive"><a href="#allow">Allow</a></code>³ª <code class="directive"><a href="#deny">Deny</a></code> Áö½Ã¾î´Â <code class="directive"><a href="../mod/core.html#directory"><Directory></a></code> ¼½¼ÇÀ̳ª <code>.htaccess</code> ÆÄÀÏ¿¡ ÀÖ´Â <code class="directive"><a href="#allow">Allow</a></code>¿Í <code class="directive"><a href="#deny">Deny</a></code> Áö½Ã¾î¸¦ ¸ðµÎ ó¸®ÇÑ ÈÄ¿¡ ó¸®ÇÑ´Ù. ¼³Á¤ ¼½¼ÇµéÀÌ °áÇÕÇÏ´Â ¹æ¹ý¿¡ ´ëÇؼ´Â <a href="../sections.html">¾î¶»°Ô Directory, Location, Files ¼½¼ÇÀÌ µ¿ÀÛÇϳª</a> ¹®¼¸¦ Âü°íÇ϶ó.</p> </div> </div> <div class="bottomlang"> <p><span>°¡´ÉÇÑ ¾ð¾î: </span><a href="../en/mod/mod_authz_host.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/mod/mod_authz_host.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../ja/mod/mod_authz_host.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | <a href="../ko/mod/mod_authz_host.html" title="Korean"> ko </a></p> </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div> <script type="text/javascript"><!--//--><![CDATA[//><!-- var comments_shortname = 'httpd'; var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html'; (function(w, d) { if (w.location.hostname.toLowerCase() == "httpd.apache.org") { d.write('<div id="comments_thread"><\/div>'); var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); } else { d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); } })(window, document); //--><!]]></script></div><div id="footer"> <p class="apache">Copyright 2017 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> <p class="menu"><a href="../mod/">¸ðµâ</a> | <a href="../mod/directives.html">Áö½Ã¾îµé</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">¿ë¾î</a> | <a href="../sitemap.html">»çÀÌÆ®¸Ê</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); } //--><!]]></script> </body></html>