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>mod_authz_host - 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" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" /> 12<script src="/style/scripts/prettify.js" type="text/javascript"> 13</script> 14 15<link href="/images/favicon.ico" rel="shortcut icon" /></head> 16<body> 17<div id="page-header"> 18<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> 19<p class="apache">Apache HTTP Server Version 2.2</p> 20<img alt="" src="/images/feather.gif" /></div> 21<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div> 22<div id="path"> 23<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> 24<div id="page-content"> 25<div id="preamble"><h1>����ġ ��� mod_authz_host</h1> 26<div class="toplang"> 27<p><span>������ ���: </span><a href="/en/mod/mod_authz_host.html" hreflang="en" rel="alternate" title="English"> en </a> | 28<a href="/fr/mod/mod_authz_host.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 29<a href="/ja/mod/mod_authz_host.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 30<a href="/ko/mod/mod_authz_host.html" title="Korean"> ko </a></p> 31</div> 32<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�. 33 �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div> 34<table class="module"><tr><th><a href="module-dict.html#Description">����:</a></th><td>ȣ��Ʈ (�̸��̳� IP �ּ�)�� ����� �� ���Ѻο�</td></tr> 35<tr><th><a href="module-dict.html#Status">����:</a></th><td>Base</td></tr> 36<tr><th><a href="module-dict.html#ModuleIdentifier">����:</a></th><td>authz_host_module</td></tr> 37<tr><th><a href="module-dict.html#SourceFile">�ҽ�����:</a></th><td>mod_authz_host.c</td></tr> 38<tr><th><a href="module-dict.html#Compatibility">����:</a></th><td>����ġ 2.1 ���ĺ���</td></tr></table> 39<h3>���</h3> 40 41 <p><code class="directive"><a href="/mod/core.html#directory"><Directory></a></code>, 42 <code class="directive"><a href="/mod/core.html#files"><Files></a></code>, 43 <code class="directive"><a href="/mod/core.html#location"><Location></a></code> 44 ���ǰ� <code><a href="core.html#accessfilename">.htaccess</a></code> 45 ���Ͽ��� ������ Ư�� �κ��� ������ �����ϱ����� 46 <code class="module"><a href="/mod/mod_authz_host.html">mod_authz_host</a></code>�� �����ϴ� ���þ ����Ѵ�. 47 Ŭ���̾�Ʈ�� ȣ��Ʈ��, IP �ּ�, <a href="/env.html">ȯ�溯��</a>�� ��ϵ� ��û�� Ư���� ��� 48 ������ �����Ѵ�. <code class="directive"><a href="#allow">Allow</a></code>�� <code class="directive"><a href="#deny">Deny</a></code> ���þ�� � 49 Ŭ���̾�Ʈ�� ������ ������ �� �ִ����� �����ϰ�, <code class="directive"><a href="#order">Order</a></code> ���þ�� �⺻������ 50 ������ ������� �ź����� ���ο� ��� <code class="directive"><a href="#allow">Allow</a></code> ���þ�� <code class="directive"><a href="#deny">Deny</a></code> ���þ ���� ������ 51 ��ġ���� �����Ѵ�.</p> 52 53 <p>ȣ��Ʈ��� �������Ѱ� ��ȣ��� ������ ���ÿ� ����� ���� 54 �ִ�. �� ��� <code class="directive"><a href="/mod/core.html#satisfy">Satisfy</a></code> 55 ���þ ����Ͽ� ��� �� ������ ���� ������ ��ġ���� 56 �����Ѵ�.</p> 57 58 <p>�Ϲ������� �������� ���þ�� (<code>GET</code>, 59 <code>PUT</code>, <code>POST</code> ��) ��� ���忡 ���Ǹ�, 60 �� �ൿ�� ��κ��� ��� �ٶ����ϴ�. ���� <code class="directive"><a href="/mod/core.html#limit"><Limit></a></code> ���Ǿȿ� 61 ���þ ����Ͽ� Ư�� ���忡�� ������ �� �ִ�.</p> 62</div> 63<div id="quickview"><h3 class="directives">���þ��</h3> 64<ul id="toc"> 65<li><img alt="" src="/images/down.gif" /> <a href="#allow">Allow</a></li> 66<li><img alt="" src="/images/down.gif" /> <a href="#deny">Deny</a></li> 67<li><img alt="" src="/images/down.gif" /> <a href="#order">Order</a></li> 68</ul> 69<h3>���</h3> 70<ul class="seealso"> 71<li><code class="directive"><a href="/mod/core.html#satisfy">Satisfy</a></code></li> 72<li><code class="directive"><a href="/mod/core.html#require">Require</a></code></li> 73</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> 74 75<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 76<div class="directive-section"><h2><a name="Allow" id="Allow">Allow</a> <a name="allow" id="allow">���þ�</a></h2> 77<table class="directive"> 78<tr><th><a href="directive-dict.html#Description">����:</a></th><td>������ �Ϻο� ������ �� �ִ� ȣ��Ʈ�� �����Ѵ�</td></tr> 79<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code> Allow from all|<var>host</var>|env=<var>env-variable</var> 80[<var>host</var>|env=<var>env-variable</var>] ...</code></td></tr> 81<tr><th><a href="directive-dict.html#Context">������:</a></th><td>directory, .htaccess</td></tr> 82<tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>Limit</td></tr> 83<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 84<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_authz_host</td></tr> 85</table> 86 <p><code class="directive">Allow</code> ���þ�� � ȣ��Ʈ�� ������ 87 �Ϻο� ������ �� �ִ��� �����Ѵ�. ȣ��Ʈ��, IP �ּ�, IP 88 �ּҿ���, ȯ�溯���� ��ϵ� �ٸ� Ư���� ��� ������ ������ 89 �� �ִ�.</p> 90 91 <p>�� ���þ��� ù��° �ƱԸ�Ʈ�� �� <code>from</code>�̴�. 92 ���� �ƱԸ�Ʈ���� ������ ����� �ִ�. <code>Allow from all</code>�� 93 ����ϸ�, �Ʒ����� ������ <code class="directive"><a href="#deny">Deny</a></code>�� <code class="directive"><a href="#order">Order</a></code> ���þ� ������ 94 ��� ��� ȣ��Ʈ�� ������ �㰡�Ѵ�. Ư�� ȣ��Ʈ�� ������ 95 ������ ����Ϸ��� ������ ���� ������� <em>host</em>�� ������ 96 �� �ִ�:</p> 97 98 <dl> 99 <dt>ȣ��Ʈ�� (�Ϻ�)</dt> 100 101 <dd> 102 <div class="example"><h3>����:</h3><p><code> 103 Allow from apache.org 104 </code></p></div> 105 <p>ȣ��Ʈ���� �� ���ڿ��� ���ų� �� ���ڿ��� ������ ������ 106 ����Ѵ�. ���� �� ��� <code>foo.apache.org</code>�� 107 �ش�ǰ�, <code>fooapache.org</code>�� �ش���� �ʴ´�. 108 �� ������ ����ϸ� ����ġ�� <code class="directive"><a href="/mod/core.html#hostnamelookups">HostnameLookups</a></code> ���þ� ������ 109 ������ Ŭ���̾�Ʈ IP �ּҸ� ������ �ߺ�-�� DNS �˻��� 110 �Ѵ�. ��, ȣ��Ʈ���� ã������ IP �ּҸ� ��DNS �˻��� �� 111 ��, �ٽ� ȣ��Ʈ������ �˻��Ͽ� �� IP �ּҿ� ��ġ�ϴ��� 112 Ȯ���Ѵ�. ��� ���� ȣ��Ʈ���� �������� �ش��ϸ�, ������ 113 ����Ѵ�.</p></dd> 114 115 <dt>IP �ּ� ��ü</dt> 116 117 <dd> 118 <div class="example"><h3>����:</h3><p><code> 119 Allow from 10.1.2.3 120 </code></p></div> 121 <p>������ �㰡�ϴ� ȣ��Ʈ�� IP �ּ�</p></dd> 122 123 <dt>IP �ּ� �Ϻ�</dt> 124 125 <dd> 126 <div class="example"><h3>����:</h3><p><code> 127 Allow from 10.1 128 </code></p></div> 129 <p>�����Ʈ��ũ�� �����ϱ����� IP �ּ� ���� 1���� 3 130 ����Ʈ.</p></dd> 131 132 <dt>��Ʈ��ũ/�ݸŽ�ũ ��</dt> 133 134 <dd> 135 <div class="example"><h3>����:</h3><p><code> 136 Allow from 10.1.0.0/255.255.0.0 137 </code></p></div> 138 <p>��Ʈ��ũ a.b.c.d�� �ݸŽ�ũ w.x.y.z. �� �����ϰ� 139 �����Ʈ��ũ�� �����Ҷ� ����Ѵ�.</p></dd> 140 141 <dt>��Ʈ��ũ/nnn CIDR �Ծ�</dt> 142 143 <dd> 144 <div class="example"><h3>����:</h3><p><code> 145 Allow from 10.1.0.0/16 146 </code></p></div> 147 <p>���� ���� ������, ���� nnn�� ��Ʈ ���� 1�� �ݸŽ�ũ�� 148 ����Ѵ�.</p></dd> 149 </dl> 150 151 <p>������ ������ ���� ��Ȯ�� ������ ȣ��Ʈ���� ��Ī�Ѵ�.</p> 152 153 <p>������ ���� IPv6 �ּҿ� IPv6 �����Ʈ��ũ�� ������ ���� 154 �ִ�:</p> 155 156 <div class="example"><p><code> 157 Allow from 2001:db8::a00:20ff:fea7:ccea<br /> 158 Allow from 2001:db8::a00:20ff:fea7:ccea/10 159 </code></p></div> 160 161 <p><code class="directive">Allow</code> ���þ� �ƱԸ�Ʈ�� ����° 162 ����� <a href="/env.html">ȯ�溯��</a> ������ ��� ������ 163 �����Ѵ�. <code>Allow from env=<var>env-variable</var></code>�� 164 ����ϸ�, <var>env-variable</var> ȯ�溯���� ���ǵ� ��� 165 ������ �㰡�Ѵ�. <code class="module"><a href="/mod/mod_setenvif.html">mod_setenvif</a></code>�� �����ϴ� 166 ���þ ����Ͽ� Ŭ���̾�Ʈ ��û�� Ư���� ��� �����Ӱ� 167 ȯ�溯���� ������ �� �ִ�. ���Ƿ� �� ���þ ����Ͽ� 168 Ŭ���̾�Ʈ <code>User-Agent</code> (������ ����), 169 <code>Referer</code>, �ٸ� HTTP ��û ����� ��� ������ 170 �㰡�� �� �ִ�.</p> 171 172 <div class="example"><h3>����:</h3><p><code> 173 SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in<br /> 174 <Directory /docroot><br /> 175 <span class="indent"> 176 Order Deny,Allow<br /> 177 Deny from all<br /> 178 Allow from env=let_me_in<br /> 179 </span> 180 </Directory> 181 </code></p></div> 182 183 <p>�� ��� user-agent ���ڿ��� <code>KnockKnock/2.0</code>���� 184 �����ϴ� �������� ������ ����ϰ�, �������� ��� �ź��Ѵ�.</p> 185 186</div> 187<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 188<div class="directive-section"><h2><a name="Deny" id="Deny">Deny</a> <a name="deny" id="deny">���þ�</a></h2> 189<table class="directive"> 190<tr><th><a href="directive-dict.html#Description">����:</a></th><td>���� ������ �ź��� ȣ��Ʈ�� �����Ѵ�</td></tr> 191<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code> Deny from all|<var>host</var>|env=<var>env-variable</var> 192[<var>host</var>|env=<var>env-variable</var>] ...</code></td></tr> 193<tr><th><a href="directive-dict.html#Context">������:</a></th><td>directory, .htaccess</td></tr> 194<tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>Limit</td></tr> 195<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 196<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_authz_host</td></tr> 197</table> 198 <p>�� ���þ ����Ͽ� ȣ��Ʈ��, IP �ּ�, ȯ�溯���� ��� 199 ���� ������ ������ �� �ִ�. <code class="directive">Deny</code> 200 ���þ��� �ƱԸ�Ʈ�� <code class="directive"><a href="#allow">Allow</a></code> ���þ�� �����ϴ�.</p> 201 202</div> 203<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 204<div class="directive-section"><h2><a name="Order" id="Order">Order</a> <a name="order" id="order">���þ�</a></h2> 205<table class="directive"> 206<tr><th><a href="directive-dict.html#Description">����:</a></th><td>�⺻������ ������ ������� �ź����� ���ο� 207<code class="directive">Allow</code>�� <code class="directive">Deny</code> 208ó���� ���Ѵ�.</td></tr> 209<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code> Order <var>ordering</var></code></td></tr> 210<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>Order Deny,Allow</code></td></tr> 211<tr><th><a href="directive-dict.html#Context">������:</a></th><td>directory, .htaccess</td></tr> 212<tr><th><a href="directive-dict.html#Override">Override �ɼ�:</a></th><td>Limit</td></tr> 213<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr> 214<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_authz_host</td></tr> 215</table> 216 <p><code class="directive">Order</code> ���þ�� �⺻������ ������ 217 ������� �ź����� ���ο� <code class="directive"><a href="#allow">Allow</a></code>�� <code class="directive"><a href="#deny">Deny</a></code> ���þ� ó���� 218 ���Ѵ�. <var>ordering</var>�� ���� �� �ϳ��̴�</p> 219 220 <dl> 221 <dt><code>Deny,Allow</code></dt> 222 223 <dd><code class="directive"><a href="#deny">Deny</a></code> 224 ���þ <code class="directive"><a href="#allow">Allow</a></code> 225 ���þ� ���� ���� ���캻��. ���� �⺻������ ������ ����Ѵ�. 226 <code class="directive"><a href="#deny">Deny</a></code>�� 227 <code class="directive"><a href="#allow">Allow</a></code> ���þ 228 �ش���� �ʴ� Ŭ���̾�Ʈ�� ������ ����Ѵ�.</dd> 229 230 <dt><code>Allow,Deny</code></dt> 231 232 <dd><code class="directive"><a href="#allow">Allow</a></code> 233 ���þ <code class="directive"><a href="#deny">Deny</a></code> ���þ� ���� ���� 234 ���캻��. ���� �⺻������ ������ ������� �ʴ´�. 235 <code class="directive"><a href="#deny">Deny</a></code>�� 236 <code class="directive"><a href="#allow">Allow</a></code> ���þ 237 �ش���� �ʴ� Ŭ���̾�Ʈ�� ������ �ź��Ѵ�.</dd> 238 239 <dt><code>Mutual-failure</code></dt> 240 241 <dd><code class="directive"><a href="#deny">Deny</a></code> 242 ��Ͽ��� �ȳ����� <code class="directive"><a href="#allow">Allow</a></code> ��Ͽ��� ������ 243 ȣ��Ʈ�� ������ ����Ѵ�. <code>Order Allow,Deny</code>�� 244 ���� ���� �ϱ���� ������� �ʴ´�.</dd> 245 </dl> 246 247 <p>Ű����� ��ǥ�θ� �����Ѵ�; ���̿� <em>����� ������ 248 �ȵȴ�.</em> ��� ��� <code class="directive"><a href="#allow">Allow</a></code>�� <code class="directive"><a href="#deny">Deny</a></code> ��� ���캽�� 249 ����϶�.</p> 250 251 <p>�Ʒ� ������ apache.org �������� ��� ȣ��Ʈ�� ������ 252 ���������, �ٸ� ȣ��Ʈ�� ��� �ź��Ѵ�.</p> 253 254 <div class="example"><p><code> 255 Order Deny,Allow<br /> 256 Deny from all<br /> 257 Allow from apache.org 258 </code></p></div> 259 260 <p>�Ʒ� ������ foo.apache.org ���������ο� �ִ� ȣ��Ʈ�� 261 �ź��ϰ�, apache.org �����ο� �ִ� ȣ��Ʈ�� ��� ������ 262 ����Ѵ�. �⺻������ ������ �ź��ϱ���� apache.org �����ο� 263 ������ �ʴ� ȣ��Ʈ�� ������ �ź��Ѵ�.</p> 264 265 <div class="example"><p><code> 266 Order Allow,Deny<br /> 267 Allow from apache.org<br /> 268 Deny from foo.apache.org 269 </code></p></div> 270 271 <p>�ݴ�� ���� <code class="directive">Order</code>�� 272 <code>Deny,Allow</code>�� �����ϸ�, ��� ȣ��Ʈ�� ������ 273 ����Ѵ�. �������Ͽ��� ���þ ������ ��� ������ 274 <code>Allow from apache.org</code>�� ���� �������� ó���Ͽ� 275 <code>Deny from foo.apache.org</code>�� ȿ�� �����ϱ� 276 �����̴�. ��, �⺻������ ������ <em>�㰡</em>�ϹǷ� 277 <code>apache.org</code> �����ο� ������ �ʴ� ȣ��Ʈ�� ��� 278 ������ �㰡�Ѵ�.</p> 279 280 <p><code class="directive">Order</code> ���þ�� �⺻������ ������ 281 ������� �ź������� ���ϱ���� <code class="directive"><a href="#allow">Allow</a></code>�� <code class="directive"><a href="#deny">Deny</a></code> ���þ ������� 282 �ʾƵ� ���ٰ��� ���ο� ������ �ش�. ���� ���,</p> 283 284 <div class="example"><p><code> 285 <Directory /www><br /> 286 <span class="indent"> 287 Order Allow,Deny<br /> 288 </span> 289 </Directory> 290 </code></p></div> 291 292 <p>�� �⺻������ ������ <em>�ź�</em>�ϱ���� 293 <code>/www</code> ���丮�� ���� ��� ������ �ź��Ѵ�.</p> 294 295 <p><code class="directive">Order</code> ���þ ���ϴ� ���� ���þ� 296 ó����� �ش� �������� ó���ܰ迡�� ������ �ش�. ��, 297 <code class="directive">Order</code> ���þ� ������ ������ <code class="directive"><a href="/mod/core.html#location"><Location></a></code> ���� �ȿ� 298 �ִ� <code class="directive"><a href="#allow">Allow</a></code>�� 299 <code class="directive"><a href="#deny">Deny</a></code> ���þ�� 300 <code class="directive"><a href="/mod/core.html#directory"><Directory></a></code> 301 �����̳� <code>.htaccess</code> ���Ͽ� �ִ� <code class="directive"><a href="#allow">Allow</a></code>�� <code class="directive"><a href="#deny">Deny</a></code> ���þ ��� ó���� 302 �Ŀ� ó���Ѵ�. ���� ���ǵ��� �����ϴ� ��� ���ؼ��� <a href="/sections.html">��� Directory, Location, Files 303 ������ �����ϳ�</a> ������ ����϶�.</p> 304 305</div> 306</div> 307<div class="bottomlang"> 308<p><span>������ ���: </span><a href="/en/mod/mod_authz_host.html" hreflang="en" rel="alternate" title="English"> en </a> | 309<a href="/fr/mod/mod_authz_host.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 310<a href="/ja/mod/mod_authz_host.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | 311<a href="/ko/mod/mod_authz_host.html" title="Korean"> ko </a></p> 312</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> 313<script type="text/javascript"><!--//--><![CDATA[//><!-- 314var comments_shortname = 'httpd'; 315var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_authz_host.html'; 316(function(w, d) { 317 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 318 d.write('<div id="comments_thread"><\/div>'); 319 var s = d.createElement('script'); 320 s.type = 'text/javascript'; 321 s.async = true; 322 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 323 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 324 } 325 else { 326 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 327 } 328})(window, document); 329//--><!]]></script></div><div id="footer"> 330<p class="apache">Copyright 2013 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> 331<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[//><!-- 332if (typeof(prettyPrint) !== 'undefined') { 333 prettyPrint(); 334} 335//--><!]]></script> 336</body></html>