mod_authz_host.html.ja.euc-jp revision 2279cef960cc68e0cc30c9f9c7a0b11360f21e21
<?xml version="1.0" encoding="EUC-JP"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>mod_authz_host - Apache HTTP ������</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" />
<body>
<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 ������ ������� 2.1</p>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP ������</a> > <a href="http://httpd.apache.org/docs-project/">�ɥ�����ơ������</a> > <a href="../">�С������ 2.1</a> > <a href="./">�⥸�塼��</a></div>
<div id="page-content">
<div id="preamble"><h1>Apache �⥸�塼�� mod_authz_host</h1>
<div class="toplang">
<p><span>Available Languages: </span><a href="/en/mod/mod_authz_host.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="/ko/mod/mod_authz_host.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</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#ModuleIdentifier">�⥸�塼�뼱�̻�:</a></th><td>authz_host_module</td></tr>
<tr><th><a href="module-dict.html#Compatibility">�ߴ���:</a></th><td>Apache 2.1 �ʹ�</td></tr></table>
<h3>����</h3>
<p><code class="module"><a href="/mod/mod_authz_host.html">mod_authz_host</a></code> �ˤ�������ǥ��쥯�ƥ��֤�
�����Ф��������ʬ�ؤ�
�������������椹�뤿��� <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> �ե�����ǻ��Ѥ���ޤ������饤����ȤΥۥ���̾��IP
�������������Ԥʤ����Ȥ��Ǥ��ޤ���<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>�ۥ��Ȥˤ�륢���������¤ȥѥ���ɤˤ��ǧ�ڤ�Ʊ����
�Ԥʤ����Ȥ���ǽ�Ǥ������ξ�硢������Ĥ����¤δط�����ꤹ�뤿���
�ǥ��쥯�ƥ��֤���Ѥ��ޤ���</p>
<p>����Ū�ˤϡ������������¥ǥ��쥯�ƥ��֤Ϥ��٤ƤΥ���������å�
(<code>GET</code>, <code>PUT</code>, <code>POST</code> �ʤ�)
��Ŭ�Ѥ���ޤ��������ơ��ۤȤ�ɤξ�礳�줬˾�ޤ���ư��Ǥ���
������������˥ǥ��쥯�ƥ��֤���Ȥǡ�
�����Υ�åɤˤΤ����¤��뤳�Ȥ�Ǥ��ޤ���</p>
</div>
<div id="quickview"><h3 class="directives">�ǥ��쥯�ƥ���</h3>
<ul id="toc">
</ul>
<h3>����</h3>
<ul class="seealso">
</ul></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>
</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>����ʸ����˹礦��������ǽ����̾���Υۥ��ȤΥ������������Ĥ���ޤ���
����ʬ�������˹礦��Τ�����Ŭ�Ѥ���ޤ��Τǡ�������
���������ȡ�Apache ��
������˴ؤ�餺�����饤����Ȥ� IP ���ɥ쥹���Ф���
DNS �� 2 �ŵհ��Ԥʤ��ޤ���
�ۥ���̾���饪�ꥸ�ʥ�� 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
���ɥ쥹�κǽ�ΰ�Ĥ��黰�ĤޤǤΥХ��ȤǤ���</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></dd>
<dt>�ͥåȥ��/nnn CIDR ����</dt>
<dd>
<div class="example"><h3>��</h3><p><code>
</code></p></div>
<p>�ͥåȥޥ����� nnn �ξ�̥ӥåȤ� 1
�ȤʤäƤ����Τ���ʤ뤳�Ȱʳ������Τ�Τ�Ʊ���Ǥ���</p></dd>
</dl>
<p>��: �Ǹ�λ��Ĥ���Ϥޤä���Ʊ���ۥ��Ȥ˹礤�ޤ���</p>
<p>IPv6 ���ɥ쥹�� IPv6 �Υ��֥ͥåȤϰʲ��Τ褦�˻���Ǥ��ޤ�:</p>
<div class="example"><p><code>
Allow from fe80::a00:20ff:fea7:ccea<br />
</code></p></div>
<p><code class="directive">Allow</code> �ǥ��쥯�ƥ��֤ΰ���λ����ܤη����ϡ�
��¸�ߤˤ�ꥢ�������������Ԥʤ���褦�ˤ����ΤǤ���
<code>Allow from env=<var>env-variable</var></code>
�����ꤵ��Ƥ���ȡ��Ķ��ѿ� <var>env-variable</var>
��¸�ߤ������˥ꥯ�����Ȥϥ�����������Ĥ���ޤ��������Ф�
�Υǥ��쥯�ƥ��֤ˤ�ꡢ���饤����ȤΥꥯ������
����ħ�˴�Ť��ƽ���˴Ķ��ѿ������ꤹ�뵡ǽ�����ޤ���
�Ǥ����顢���Υǥ��쥯�ƥ��֤ϥ��饤����Ȥ�
<code>User-Agent</code> (�֥饦���μ���)��<code>Referer</code>
��¾�� HTTP �ꥯ�����ȤΥإå��ե�����ɤʤɤ˴�Ť���
�����������Ĥ뤿��˻Ȥ����Ȥ��Ǥ��ޤ���
</p>
<div class="example"><h3>Example:</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>
</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>
</table>
<p>���Υǥ��쥯�ƥ��֤ϥۥ���̾��IP
���ɥ쥹���Ķ��ѿ��˴�Ť��ƥ����ФؤΥ������������¤��ޤ���
<code class="directive">Deny</code> �ǥ��쥯�ƥ��֤ΰ���� <code class="directive"><a href="#allow">Allow</a></code>
�ǥ��쥯�ƥ��֤Ȥޤä���Ʊ���Ǥ���</p>
</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>�ǥե���ȤΥ���������ǽ�ʾ��֤ȡ�Allow ��
Deny ��ɾ���������֤����椹��</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>
</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="#allow">Allow</a></code>
�ǥ��쥯�ƥ��֤˹��ʤ�����<code class="directive"><a href="#deny">Deny</a></code>
�ǥ��쥯�ƥ��֤˹礦���饤����Ȥϥ�����������ݤ���ޤ���
</dd>
<dt><code>Mutual-failure</code></dt>
<dd><code class="directive"><a href="#allow">Allow</a></code> �Υꥹ�Ȥ˸���ơ�
<code class="directive"><a href="#deny">Deny</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 �ɥᥤ��Τ��٤ƤΥۥ��Ȥ�������������Ĥ���ޤ���
�ɥᥤ��Ǥʤ��ۥ��Ȥϡ��ǥե���Ȥξ��֤������������ݤΤ��ᡢ
�����ФؤΥ�����������ݤ���ޤ���</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>
���Ѥ�äƤ���С����٤Υۥ��Ȥ˥������������Ĥ���ޤ���
����ϡ�����ե�������μºݤν��֤˴ؤ�餺��
�ɥᥤ��ˤʤ��ۥ��Ȥ⡢�ǥե���Ȥξ��֤� <em>allow</em>
���Ѳ����뤿��ˡ�������������Ĥ���ޤ���
</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>deny</em> �ˤʤ뤿�ᡢ
<code>/www</code> �ǥ��쥯�ȥ�ؤΤ��٤ƤΥ�����������ݤ��ޤ���
</p>
<p><code class="directive">Order</code>
�ǥ��쥯�ƥ��֤ϥ����Ф��������γ��ʳ��Ǥ���
���������ǥ��쥯�ƥ��֤ν���ν��֤��ѹ����ޤ�������ϡ����Ȥ��С�
<code class="directive">Order</code> �ǥ��쥯�ƥ��֤�����˴ؤ�餺��
<code class="directive"><a href="#allow">Allow</a></code> �ǥ��쥯�ƥ��֤�
<code class="directive"><a href="#deny">Deny</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>Available Languages: </span><a href="/en/mod/mod_authz_host.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="/ko/mod/mod_authz_host.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
</div><div id="footer">
<p class="apache">Copyright 1999-2004 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="/faq/">FAQ</a> | <a href="/glossary.html">�Ѹ�</a> | <a href="/sitemap.html">�����ȥޥå�</a></p></div>
</body></html>