mod_proxy.html.ja.euc-jp revision 6df89e6e4adeb986b41b7ec6b7593a887e031ce7
<?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">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>mod_proxy - 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" />
<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="/images/favicon.ico" rel="shortcut icon" /></head>
<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.3</p>
<img alt="" src="/images/feather.gif" /></div>
<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP ������</a> &gt; <a href="http://httpd.apache.org/docs-project/">�ɥ�����ơ������</a> &gt; <a href="../">�С������
2.3</a> &gt; <a href="./">�⥸�塼��</a></div>
<div id="page-content">
<div id="preamble"><h1>Apache �⥸�塼�� mod_proxy</h1>
<div class="toplang">
<p><span>Available Languages: </span><a href="/en/mod/mod_proxy.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="/ja/mod/mod_proxy.html" title="Japanese">&nbsp;ja&nbsp;</a></p>
</div>
<div class="outofdate">This translation may be out of date. Check the
English version for recent changes.</div>
<table class="module"><tr><th><a href="module-dict.html#Description">����:</a></th><td>HTTP/1.1 �ץ?��/�����ȥ�����������</td></tr>
<tr><th><a href="module-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="module-dict.html#ModuleIdentifier">�⥸�塼�뼱�̻�:</a></th><td>proxy_module</td></tr>
<tr><th><a href="module-dict.html#SourceFile">�������ե�����:</a></th><td>mod_proxy.c</td></tr></table>
<h3>����</h3>
<div class="warning"><h3>�ٹ�</h3>
<p><a href="#access">�����Ф�����ˤ���</a>�ޤ� <code class="directive"><a href="#proxyrequests">ProxyRequests</a></code> ��ͭ��ˤ��ʤ��Ǥ���������
�����ץ�ץ?�������ФϤ��ʤ����ȤΥͥåȥ���ˤȤäƤ⡢
���󥿡��ͥå����ΤˤȤäƤ�?�Ǥ���</p>
</div>
<p>���Υ⥸�塼��� Apache �Υץ?��/�����ȥ�������ǽ��������Ƥ��ޤ���
<code>AJP13</code> (Apache JServe Protocol version 1.3),
<code>FTP</code>, <code>CONNECT</code> (SSL ��),
<code>HTTP/0.9</code>, <code>HTTP/1.0</code>, <code>HTTP/1.1</code>
�Υץ?����ǽ��������Ƥ��ޤ��������Υץ�ȥ���䤽��¾�Υץ�ȥ����Ѥ�
�ץ?����ǽ���ä���¾�Υ⥸�塼�����³����褦�ˤ�����Ǥ��ޤ���</p>
<p>Apache �Υץ?����ǽ�� <code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code> ��¾�ˡ�
�����Ĥ��Υ⥸�塼���ʬ�䤵��Ƥ��ޤ�:
<code class="module"><a href="/mod/mod_proxy_http.html">mod_proxy_http</a></code>, <code class="module"><a href="/mod/mod_proxy_ftp.html">mod_proxy_ftp</a></code>,
<code class="module"><a href="/mod/mod_proxy_ajp.html">mod_proxy_ajp</a></code>, <code class="module"><a href="/mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code>,
<code class="module"><a href="/mod/mod_proxy_connect.html">mod_proxy_connect</a></code> �Ǥ����Ǥ����顢
����Υץ?���ε�ǽ��Ȥ��������ϡ�<code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code> <em>��</em>
��������⥸�塼��򥵡��Ф� (����ѥ��������Ū�˹Ԥʤ���
<code class="directive"><a href="/mod/mod_so.html#loadmodule">LoadModule</a></code> ��ưŪ���ɤ߹��फ����)
�Ȥ߹���ɬ�פ�����ޤ���</p>
<p>����˲ä��ơ�¾�Υ⥸�塼��ˤ�äƳ�ĥ��ǽ���󶡤���Ƥ��ޤ���
����å���� <code class="module"><a href="/mod/mod_cache.html">mod_cache</a></code> �ȴ�Ϣ�⥸�塼���
�󶡤���Ƥ��ޤ���SSL/TLS �DZ�֥����Ф���³���뵡ǽ��
<code class="module"><a href="/mod/mod_ssl.html">mod_ssl</a></code> �� <code>SSLProxy*</code> �ǥ��쥯�ƥ��֤�
�󶡤���Ƥ��ޤ��������ε�ǽ�����Ѥ��뤿��ˤϡ���������⥸�塼���
�Ȥ߹�������ꤷ�ʤ���Фʤ�ޤ���</p>
</div>
<div id="quickview"><h3 class="directives">�ǥ��쥯�ƥ���</h3>
<ul id="toc">
<li><img alt="" src="/images/down.gif" /> <a href="#allowconnect">AllowCONNECT</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#noproxy">NoProxy</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxy">&lt;Proxy&gt;</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxybadheader">ProxyBadHeader</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxyblock">ProxyBlock</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxydomain">ProxyDomain</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxyerroroverride">ProxyErrorOverride</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxyiobuffersize">ProxyIOBufferSize</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxymatch">&lt;ProxyMatch&gt;</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxymaxforwards">ProxyMaxForwards</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxypass">ProxyPass</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxypassreverse">ProxyPassReverse</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxypassreversecookiedomain">ProxyPassReverseCookieDomain</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxypassreversecookiepath">ProxyPassReverseCookiePath</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxypreservehost">ProxyPreserveHost</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxyreceivebuffersize">ProxyReceiveBufferSize</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxyremote">ProxyRemote</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxyremotematch">ProxyRemoteMatch</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxyrequests">ProxyRequests</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxytimeout">ProxyTimeout</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#proxyvia">ProxyVia</a></li>
</ul>
<h3>�ȥԥå�</h3>
<ul id="topics">
<li><img alt="" src="/images/down.gif" /> <a href="#forwardreverse">�ե���ɥץ?���ȥ�С����ץ?��</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#examples">���ܤ���</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#access">�ץ?���ؤΥ�����������</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#ftp-proxy">FTP �ץ?��</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#startup">�٤���ư</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#intranet">����ȥ�ͥåȥץ?��</a></li>
<li><img alt="" src="/images/down.gif" /> <a href="#envsettings">�ץ�ȥ����Ĵ��</a></li>
</ul><h3>����</h3>
<ul class="seealso">
<li><code class="module"><a href="/mod/mod_cache.html">mod_cache</a></code></li>
<li><code class="module"><a href="/mod/mod_proxy_http.html">mod_proxy_http</a></code></li>
<li><code class="module"><a href="/mod/mod_proxy_ftp.html">mod_proxy_ftp</a></code></li>
<li><code class="module"><a href="/mod/mod_proxy_connect.html">mod_proxy_connect</a></code></li>
<li><code class="module"><a href="/mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code></li>
<li><code class="module"><a href="/mod/mod_ssl.html">mod_ssl</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="forwardreverse" id="forwardreverse">�ե���ɥץ?���ȥ�С����ץ?��</a></h2>
<p>Apache ��<dfn>�ե����</dfn>�ץ?���Ȥ��Ƥ⡢
<dfn>��С���</dfn>�ץ?���Ȥ��Ƥ����ꤹ�뤳�Ȥ��Ǥ��ޤ���</p>
<p>�̾��<dfn>�ե���ɥץ?��</dfn>�ϥ��饤����Ȥ�
<em>���ꥸ�󥵡���</em> <span class="transnote">(<em>����:</em> ����ƥ���������Υ�����)</span>
�δ֤˰��֤�����֥����ФǤ���
���ꥸ�󥵡��Ф��饳��ƥ�Ĥ�����������Ǥϡ����饤����Ȥ�
�Ԥ���Ȥ��ƥ��ꥸ�󥵡��Ф���ꤷ�Ĥĥץ?���˥ꥯ�����Ȥ����ꡢ
�ץ?���ϥ��ꥸ�󥵡��Ф��饳��ƥ�ļ����Υꥯ�����Ȥ����ꡢ
����ƥ�Ĥ������Ǥ���Ф���򥯥饤����Ȥ��֤��ޤ���
���饤����Ȥ�¾�Υ����Ȥ˥ե���ɥץ?����ͳ�ǥ�����������ˤϡ�
���̤ˤ����Ѥ�����򤷤ʤ���Фʤ�ޤ���</p>
<p>�ե���ɥץ?���ΰ���Ū�ʻ�����ˡ�ϡ��ե�������������ˤ�ä�
���¤���Ƥ��������Υ��饤����Ȥ˥��󥿡��ͥåȤؤΥ���������
�󶡤����ΤǤ����ե���ɥץ?���ϥͥåȥ���λ����̤�
���餹����� (<code class="module"><a href="/mod/mod_cache.html">mod_cache</a></code> ���󶡤���Ƥ���)
����å��嵡ǽ���Ѥ��뤳�Ȥ�Ǥ��ޤ���</p>
<p>�ե���ɥץ?���� <code class="directive"><a href="#proxyrequests">ProxyRequests</a></code> �ǥ��쥯�ƥ��֤�
ͭ��ˤʤ�ޤ����ե���ɥץ?���Ǥϡ����饤����Ȥ������οȸ���
������Ǥ�դΥ����Ȥ˥��������Ǥ���褦�ˤʤ뤿�ᡢ�ե���ɥץ?����
ͭ��ˤ������ˡ���ǧ���줿���饤����ȤΤߤ��ץ?���˥��������Ǥ���褦��
<a href="#access">�����Ф�����ˤ���</a>���Ȥ����פǤ���</p>
<p>����<dfn>��С����ץ?��</dfn>�ϡ����饤����Ȥˤ����̤�
�����֥����ФΤ褦�˸����ޤ������饤�����¦�����̤������ɬ�פ���ޤ���
���饤����Ȥϥ�С����ץ?����̾�����֤��Ф����̾�Υ���ƥ�Ĥؤ�
�ꥯ�����Ȥ�Ԥʤ��ޤ����ץ?���ϥꥯ�����Ȥ�ɤ���������ɤ�����Ƚ�ꤷ��
�������⼫ʬ���Ȥ����ꥸ�󥵡��ФǤ��ä����Τ褦�˥��饤����Ȥ�
����ƥ�Ĥ��֤��ޤ���</p>
<p>��С����ץ?���Τ褯����������ˡ�ϡ����󥿡��ͥåȥ桼����
�ե����������������ˤ��륵���Ф˥���������Ϳ����Ȥ�����ΤǤ���
��С����ץ?����ʣ���ΥХå�����ɥ����Ф����ʬ���򤹤뤿���
�Ȥä��ꡢ�٤��Хå�����ɥ���ɥ����ФΤ���˥���å��嵡ǽ���󶡤�����
���뤿��˻Ȥ��ޤ����ޤ�����С����ץ?����ʣ���Υ����Ф�
Ʊ�� URL ���֤ˤޤȤ�뤿��˻Ȥ����Ȥ�Ǥ��ޤ���</p>
<p>��С����ץ?���� <code class="directive"><a href="#proxypass">ProxyPass</a></code> �ǥ��쥯�ƥ��֤�
<code class="directive"><a href="/mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> �ǥ��쥯�ƥ��֤�
<code>[P]</code> �ե饰��Ȥ����Ȥ�ͭ��ˤʤ�ޤ�����С����ץ?����
����Τ���� <code class="directive"><a href="#proxyrequests">ProxyRequests</a></code> �����ꤹ��ɬ�פ�
<em>����ޤ���</em>��</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="examples" id="examples">���ܤ���</a></h2>
<p>�ʲ�����ϼ�Ϥ�δ�ñ����Ǥ����ġ��Υǥ��쥯�ƥ��֤ΰ�̣��
���줾����������ɤߤ���������</p>
<p>�ޤ�����å��嵡ǽ��ͭ��ˤ��������ϡ�<code class="module"><a href="/mod/mod_cache.html">mod_cache</a></code>
���������ɤ�Ǥ���������</p>
<div class="example"><h3>�ե���ɥץ?��</h3><p><code>
ProxyRequests On<br />
ProxyVia On<br />
<br />
&lt;Proxy *&gt;<br />
<span class="indent">
Order deny,allow<br />
Deny from all<br />
Allow from internal.example.com<br />
</span>
&lt;/Proxy&gt;
</code></p></div>
<div class="example"><h3>��С����ץ?��</h3><p><code>
ProxyRequests Off<br />
<br />
&lt;Proxy *&gt;<br />
<span class="indent">
Order deny,allow<br />
Allow from all<br />
</span>
&lt;/Proxy&gt;<br />
<br />
ProxyPass /foo http://foo.example.com/bar<br />
ProxyPassReverse /foo http://foo.example.com/bar
</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="access" id="access">�ץ?���ؤΥ�����������</a></h2>
<p>�ץ?���Υ��������ϰʲ��Τ褦�� <code class="directive"><a href="#proxy">&lt;Proxy&gt;</a></code> ����ƥʤ����
�ǥ��쥯�ƥ��֤�񤯤��Ȥ�����Ǥ��ޤ�:</p>
<div class="example"><p><code>
&lt;Proxy *&gt;<br />
<span class="indent">
Order Deny,Allow<br />
Deny from all<br />
Allow from 192.168.0<br />
</span>
&lt;/Proxy&gt;
</code></p></div>
<p>������������Τ���Υǥ��쥯�ƥ��֤Τ��ܤ��������
<code class="module"><a href="/mod/mod_authz_host.html">mod_authz_host</a></code> ���ɤߤ���������</p>
<p>(<code class="directive"><a href="#proxyrequests">ProxyRequests</a></code> �ǥ��쥯�ƥ��֤�
�Ȥä�) �ե���ɥץ?�������ꤷ�Ƥ�����ϡ���������������
���¤�Ԥʤ����Ȥ��������ڤǤ����������ʤ��ȡ�Ǥ�դΥ��饤����Ȥ�
�ȸ������������Ȥʤ�Ǥ�դΥۥ��Ȥ˥����������뤿��˥����Ф�Ȥ����Ȥ�
�Ǥ��Ƥ��ޤ��ޤ�������Ϥ��ʤ����ȤΥͥåȥ���ˤȤäƤ⡢���󥿡��ͥå�
���ΤˤȤäƤ�?�ʤ��ȤǤ���(<code>ProxyRequests Off</code> �ˤ���
<code class="directive"><a href="#proxypass">ProxyPass</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="ftp-proxy" id="ftp-proxy">FTP �ץ?��</a></h2>
<h3><a name="mimetypes" id="mimetypes">�ɤ����ƥե����륿���פ� <var>xxx</var>
�Υե������ FTP �ǥ�����?�ɤǤ��ʤ���?</a></h3>
<p>�����餯���ץ?���� mime.types ����ե�����Ǥ��Υե����륿���פ�
<code>application/octet-stream</code> �Ǥ�����������Ƥ��ʤ��ΤǤ��礦��
�ʲ��Τ褦�ʤ�Τ����Ω�Ĥ��⤷��ޤ���:</p>
<div class="example"><pre>application/octet-stream bin dms lha lzh exe class tgz taz</pre></div>
<p>�̤���ˡ�Ȥ��ơ����٤ƤΥǥե���Ȥ�Х��ʥ�ˤ��뤳�Ȥ�Ǥ��ޤ�:</p>
<div class="example"><pre>DefaultType application/octet-stream</pre></div>
<h3><a name="type" id="type">�ե����� <var>xxx</var> �� FTP �� ASCII ������?��
�ˤ�����ΤϤɤ�����Ф褤��?</a></h3>
<p>�ޤ�ˡ�(�ǥե���Ȥ�ž���� <code>binary</code> �⡼�ɤ�) �����
�ե�����Τ� FTP �� <code>ASCII</code> ž����ˡ��Ȥ�ʤ���Фʤ�ʤ�
���ˤϡ��ꥯ�����ȤκǸ�� <code>;type=a</code> ���դ��뤳�Ȥ�
<code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code> �� ASCII ž���򤵤��뤳�Ȥ��Ǥ��ޤ���
(��������FTP �Υǥ��쥯�ȥ�����Ͼ�� ASCII �⡼�ɤǹԤʤ��ޤ���)</p>
<h3><a name="ftpnonget" id="ftpnonget">FTP �Υ��åץ?�ɤϤɤ�����Ф褤��?</a></h3>
<p>�������Ǥϡ�mod_proxy �� FTP ���ݡ��Ȥ� GET �ΤߤǤ���������
Apache �� �ץ?����Ȥä� HTTP �Υ��åץ?�� (POST �� PUT) ��
���뤳�ȤϤǤ��ޤ���</p>
<h3><a name="percent2fhck" id="percent2fhck">�ۡ���ǥ��쥯�ȥ�γ��� FTP �ե������
������������ˤϤɤ�����Ф褤��?</a></h3>
<p>FTP URI �ϥ?���󤷤Ƥ���桼���Υۡ���ǥ��쥯�ȥ꤫���
���Хѥ��Ȥ��ư����ޤ�����ǰ�ʤ��Ȥˡ�/../ �ϥ֥饦���ˤ���ᤵ�졢
�ºݤ� FTP �����Фˤ������ʤ����ᡢ/../ ��Ȥäƾ�̤Υǥ��쥯�ȥ��
��ã���뤳�ȤϤǤ��ޤ��󡣤���������褹�뤿��ˡ�������
<dfn>Squid %2f �ϥå�</dfn> �� Apache �� FTP �ץ?���ϼ������Ƥ��ޤ���
����� <a href="http://www.squid-cache.org/">Squid Proxy ����å���</a> �Τ褦��
¾�Τ褯�Ȥ��Ƥ���ץ?�������ФǤ����Ƥ�����ˡ�Ǥ���
�ꥯ�����ȤΥѥ�����Ƭ�� <code>/%2f</code> ���դ��뤳�Ȥǡ��ץ?����
FTP �γ��ϥǥ��쥯�ȥ�� (�ۡ���ǥ��쥯�ȥ�������) <code>/</code>
���Ѥ��뤳�Ȥ��Ǥ��ޤ����㤨�С�<code>/etc/motd</code> ��������뤿��ˤ�
���� URL ��Ȥ��ޤ�:</p>
<div class="example"><p><code>
ftp://<var>user</var>@<var>host</var>/%2f/etc/motd
</code></p></div>
<h3><a name="ftppass" id="ftppass">�֥饦���� URL ɽ���� FTP ��ʿʸ�ѥ���ɤ�
�����ˤϤɤ�����Ф褤��?</a></h3>
<p>FTP �����Ф˥桼��̾�ȥѥ���ɤ�Ȥäƥ?���󤹤뤿��ˡ�
Apache �ϰۤʤ���ˡ��Ȥ��ޤ���URL �˥桼��̾�ȥѥ���ɤ��ޤä���
�ʤ����ϡ�Apache �� FTP �����Ф� anonymous �?���������ޤ���
<em>�Ĥޤ�</em>��</p>
<div class="example"><p><code>
user: anonymous<br />
password: apache_proxy@
</code></p></div>
<p>����� anonymous �������������ꤵ�줿
���٤Ƥ� FTP �����Ф��Ф���ư��ޤ���</p>
<p>�桼��̾��Ȥä��Ŀ��̤Υ?����ˤϡ�URL �˥桼��̾������뤳�Ȥ�
�Ǥ��ޤ�:</p>
<div class="example"><p><code>
ftp://<var>username</var>@<var>host</var>/myfile
</code></p></div>
<p>���Υ桼��̾��Ϳ����줿�Ȥ��ˡ�FTP �����Ф��ѥ���ɤ��׵᤹���
(�����󤽤����٤��ʤΤǤ���)��Apache �� <code>401</code>
(Authorization required) ���֤��ޤ�������ˤ�ꡢ�֥饦���ϥ桼��̾
�ѥ���ɤ����ϥ������?��ɽ�����ޤ����ѥ���ɤ����Ϥ��줿�塢
�Ƥ���³���ߡ������Хꥯ�����Ȥ����꥽������ɽ������ޤ���
������ˡ�������ϥ֥饦�����ѥ���ɤ�ʿʸ��ɽ�����ʤ����ȤǤ���
(�⤷�ǽ餫��</p>
<div class="example"><p><code>
ftp://<var>username</var>:<var>password</var>@<var>host</var>/myfile
</code></p></div>
<p>�����Ϥ������ˤ�ɽ������Ƥ��ޤ��ޤ���)</p>
<div class="note"><h3>��</h3>
<p>���������ѥ���ɤϡ��Ź沽�����������櫓�ǤϤ���ޤ���
�֥饦���� Apache �ץ?�������Ф� base64 ����沽���줿
ʸ����Ȥ��ơ�Apache �ץ?���� FTP �����Фδ֤�ʿʸ�Ȥ��������ޤ���
�Ǥ����顢HTTP ��Ȥä� HTTP �򥢥����������� (�⤷���ϡ����⤽��
�Ŀ�Ū�ʥե������ FTP �ǥ�������������) �ˤ褯�ͤ���ɬ�פ�����ޤ���
�����Ǥʤ��̿�ϩ��Ȥä����ϡ���İ�Ԥ�����ǥѥ���ɤ���ޤ��
��ǽ��������ޤ���</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="startup" id="startup">�٤���ư</a></h2>
<p><code class="directive"><a href="#proxyblock">ProxyBlock</a></code> �ǥ��쥯�ƥ��֤�ȤäƤ����硢
��Υƥ��ȤΤ���˵�ư���˥ۥ��Ȥ�
IP ���ɥ쥹��Ĵ�٤��ƥ���å��夵��ޤ����ۥ���̾�Υ�å����åפ�
®���ˤ�äƤϡ����� (������ʾ�) �����뤫�⤷��ޤ���</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="intranet" id="intranet">����ȥ�ͥåȥץ?��</a></h2>
<p>����ȥ�ͥåȤˤ��� Apache �ץ?�������Фϳ����ؤΥꥯ�����Ȥ�
��ҤΥե���������������̤�������ʤ���Фʤ�ޤ���(���Τ���ˤ�
�ġ��� <var>scheme</var> �ˤĤ��Ƥ��줾�졢�ե��������������
�ץ?���˥ե���ɤ����褦��
<code class="directive"><a href="#proxyremote">ProxyRemote</a></code> �ǥ��쥯�ƥ��֤�
���ꤷ�Ƥ�������)������������ȥ�ͥå���Υ꥽�����˥�����������Ȥ��ϡ�
�ե���������������̤��ʤ��Ǥ⥢�������Ǥ��ޤ���
�ɤΥۥ��Ȥ�����ȥ�ͥåȤ�°����ľ�ܥ����������٤�������ꤹ��ˤϡ�
<code class="directive"><a href="#noproxy">NoProxy</a></code> �ǥ��쥯�ƥ��֤�
���Ω���ޤ���</p>
<p>����ȥ�ͥå���Υ桼���� WWW �Υꥯ�����Ȥǥ?����ɥᥤ���
��ά���뤳�Ȥ��褯����ޤ���<code>http://somehost.example.com/</code>
�Ȥ����ꥯ�����Ȥ������ "http://somehost/" ��ꥯ�����Ȥ����ꤷ�ޤ���
���Τ褦�ʥꥯ�����Ȥ�����դ��������Ф����ꤵ��Ƥ���?����ɥᥤ��
���ۤΤ����˻Ȥ��Ƥ���Ȳ�ᤷ�ơ�ñ��˥ꥯ�����Ȥ������Τ�
���ѥץ?�������Ф���ˤϤ���ޤ���
�����Ф� <a href="#proxyrequests">�ץ?���Υ����ӥ��Ѥ����ꤵ��Ƥ���</a>
<code class="directive"><a href="#proxydomain">ProxyDomain</a></code> �ǥ��쥯�ƥ��֤�
���Ѥ��줿���ˤϡ�Apache �ϥ��饤����Ȥ˥�����쥯�ȱ�������äơ�
�������������� (<span class="transnote">(<em>����:</em> fully qualified)</span>)
�����ФΥ��ɥ쥹�����뤳�Ȥ��Ǥ��ޤ������Τ褦��
������쥯�Ȥ���ȡ��桼���Υ֥å��ޡ����������������ʥۥ���̾��ޤ�
���Ȥˤ�ʤ뤿�ᡢ��깥�ޤ�����ˡ�ȸ�����Ǥ��礦��</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="section">
<h2><a name="envsettings" id="envsettings">�ץ�ȥ����Ĵ��</a></h2>
<p>Keepalive �� HTTP/1.1 ��Ŭ�ڤ˼������Ƥ��ʤ����ץꥱ������󥵡��Ф�
��������ǡ�HTTP/1.0 �� keepalive ��̵���ˤ��ƥꥯ�����Ȥ����뤿���
�Ķ��ѿ�����Ĥ���ޤ��������� <code class="directive"><a href="/mod/mod_env.html#setenv">SetEnv</a></code> �ǥ��쥯�ƥ��֤����ꤷ�ޤ���</p>
<p><code>force-proxy-request-1.0</code> �� <code>proxy-nokeepalive</code>
�����δĶ��ѿ��Ǥ���</p>
<div class="example"><p><code>
&lt;Location /buggyappserver/&gt;<br />
<span class="indent">
ProxyPass http://buggyappserver:7001/foo/<br />
SetEnv force-proxy-request-1.0 1<br />
SetEnv proxy-nokeepalive 1<br />
</span>
&lt;/Location&gt;
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="AllowCONNECT" id="AllowCONNECT">AllowCONNECT</a> <a name="allowconnect" id="allowconnect">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>�ץ?�����ͳ���ơ��ɤΥݡ��Ȥ� <code>CONNECT</code>
�Ǥ��뤫����ꤹ��</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>AllowCONNECT <var>port</var> [<var>port</var>] ...</code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>AllowCONNECT 443 563</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p><code class="directive">AllowCONNECT</code> �ϥץ?���� <code>CONNECT</code>
�᥽�åɤ���³����Ĥ���ݡ����ֹ�Υꥹ�Ȥ���ꤷ�ޤ���
����Υ֥饦���ϡ�<code>https</code> ���ͥ�������׵ᤵ��Ƥ��ơ�
HTTP ��ǤΥץ?���ˤ��ȥ�ͥ�󥰤��Ǥ���Ȥ��ˡ�
���Υ᥽�åɤ�Ȥ��ޤ���</p>
<p>�ǥե���Ȥ�����Ǥϡ�https �Υǥե���ȥݡ��� (<code>443</code>) ��
�ǥե���Ȥ� snews �ݡ��� (<code>563</code>) ��ͭ��ˤʤäƤ��ޤ���
���Υǥե���Ȥ��񤭤��ơ��ꥹ�Ȥ˵��ܤ����ݡ��ȤˤΤ���³����Ĥ�������硢
<code class="directive">AllowCONNECT</code> �ǥ��쥯�ƥ��֤���Ѥ��ޤ���</p>
<p><code>CONNECT</code> ����Ѥ���ˤϡ�<code class="module"><a href="/mod/mod_proxy_connect.html">mod_proxy_connect</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="NoProxy" id="NoProxy">NoProxy</a> <a name="noproxy" id="noproxy">�ǥ��쥯�ƥ���</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>NoProxy <var>host</var> [<var>host</var>] ...</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤ϥ���ȥ�ͥå���� Apache �ץ?�������ФˤΤ�
ͭ�ѤǤ���<code class="directive">NoProxy</code> �ǥ��쥯�ƥ��֤϶�����ڤ�ǡ�
���֥ͥåȡ�IP ���ɥ쥹���ۥ��ȡ��ɥᥤ��Υꥹ�Ȥ���ꤷ�ޤ���
�����Τɤ줫�˥ޥå�����ۥ��ȤؤΥꥯ�����Ȥ� <code class="directive"><a href="#proxyremote">ProxyRemote</a></code> �����ꤵ�줿�ץ?�������Ф�
�ե���ɤ��줺��ľ�ܽ����ޤ���</p>
<div class="example"><h3>��</h3><p><code>
ProxyRemote * http://firewall.mycompany.com:81<br />
NoProxy .mycompany.com 192.168.112.0/21
</code></p></div>
<p><code class="directive">NoProxy</code> �ǥ��쥯�ƥ��֤� <var>host</var> �����
�ʲ��μ���Τɤ줫�Ǥ�:</p>
<dl>
<dt><var><a name="domain" id="domain">Domain</a></var></dt>
<dd>
<p><dfn>Domain</dfn> ����Ƭ�˥ԥꥪ�ɤ��夤����ʬ DNS �ɥᥤ��̾�Ǥ���
Ʊ�� DNS �ɥᥤ��ڤӥ����� (<em>���ʤ��</em>���ۥ���̾�������٤�
<var>Domain</var> �ǽ���äƤ���Ȥ�������) ��°����ۥ��ȤΥꥹ�Ȥ�
ɽ���ޤ�)��</p>
<div class="example"><h3>��</h3><p><code>
.com .apache.org.
</code></p></div>
<p><var>Domain</var> �� <a href="#hostname">Hostname</a> �ȶ��̤��뤿��� (��̣Ū�ˤ⹽ʸŪ�ˤ⡣DNS �ɥᥤ���
DNS �� A �쥳���ɤ��Ĥ��Ȥ��Ǥ���ΤǤ�!)��<var>Domain</var> ��
��˥ԥꥪ�ɤǻϤޤ�ޤ���</p>
<div class="note"><h3>��</h3>
<p>�ɥᥤ��̾����Ӥ���ʸ��ʸ�����̤����˹Ԥʤ�졢<var>Domain</var>
�Ͼ�� DNS �ĥ꡼�Υ롼�Ȥ���Ϥޤ��ΤȤߤʤ���ޤ����Ǥ����顢
������ĤΥɥᥤ�� <code>.MyDomain.com</code> ��
<code>.mydomain.com.</code> (�Ǹ�Υԥꥪ�ɤ�����) ��Ʊ��Ǥ����
�ߤʤ���ޤ����ɥᥤ�����Ӥ� DNS ��å����åפʤ��ǹԤʤ��뤿�ᡢ
���֥ͥåȤ���Ӥ��⤺�äȸ�ΨŪ�Ǥ���</p>
</div></dd>
<dt><var><a name="subnet" id="subnet">SubNet</a></var></dt>
<dd>
<p><dfn>SubNet</dfn> �Ͽ��ͷ��� (�ɥåȤǶ��ڤ�줿�ͤĤο���) ��
��ʬ���󥿡��ͥåȥ��ɥ쥹�Ǥ�����˥���å���� <var>Subnet</var>
�ΰ�̣�Τ���ӥåȿ�����ꤹ��ͥåȥޥ����Ȥ�³���뤳�Ȥ��Ǥ��ޤ���
���̤Υͥåȥ�����󥿥ե�������Ȥä���ã���뤳�ȤΤǤ��륵�֥ͥåȤ�
ɽ������˻Ȥ��ޤ�������Ū�˥ͥåȥޥ�������ꤷ�ʤ�����
�Ǹ�ξ�ά���줿 (�⤷�����ͤ� 0 ��) ����ޥ�������ꤷ�ޤ���
(���ξ��ϡ��ͥåȥޥ����� 8 �ӥå�ñ�̤Ǥ�������Ǥ��ޤ���)
��:</p>
<dl>
<dt><code>192.168</code> �⤷���� <code>192.168.0.0</code></dt>
<dd>���֥ͥå� 192.168.0.0 �Ȱ��ۤ� 16 �ӥå�ͭ��ʥͥåȥޥ���
(<code>255.255.0.0</code> �Ȥ����ͥåȥޥ����η����ǻȤ��뤳�Ȥ�
����ޤ�)</dd>
<dt><code>192.168.112.0/21</code></dt>
<dd>���֥ͥå�<code>192.168.112.0/21</code> �� 21 �ӥå�ͭ���
�ͥåȥޥ��� (<code>255.255.248.0</code> �Ȥ��������ǻȤ��뤳�Ȥ�
����ޤ�)</dd>
</dl>
<p>���̤ʾ��ˡ�32 �ӥå�ͭ��� <em>SubNet</em> ��
<var><a href="#ipadr">IPAddr</a></var> ��Ʊ��ǡ�
0 �ӥå�ͭ��� <var>SubNet</var> (<em>�㤨��</em>��0.0.0.0/0) ��
���٤Ƥ� IP ���ɥ쥹�˥ޥå�������� <var>_Default_</var> ��Ʊ���Ǥ���</p>
</dd>
<dt><var><a name="ipaddr" id="ipaddr">IPAddr</a></var></dt>
<dd>
<p><dfn>IPAddr</dfn> �Ͽ��ͷ��� (�ɥåȤǶ��ڤ�줿�ͤĤο���) ��
�������󥿡��ͥåȥ��ɥ쥹�Ǥ����̾�Ϥ��Υ��ɥ쥹�ϥۥ��Ȥ�
ɽ���ޤ�����ɬ�����⥢�ɥ쥹���б����� DNS �ɥᥤ��̾������櫓�Ǥ�
����ޤ���</p>
<div class="example"><h3>��</h3><p><code>
192.168.123.7
</code></p></div>
<div class="note"><h3>��</h3>
<p><var>IPAddr</var> �� DNS �����ƥ�ˤ���褵���ɬ�פ��ʤ��Τǡ�
apache ����ǽ�����夹�뤫�⤷��ޤ���</p>
</div></dd>
<dt><var><a name="hostname" id="hostname">Hostname</a></var></dt>
<dd>
<p><dfn>Hostname</dfn> �� DNS �ɥᥤ�󥵡��ӥ��ˤ���Ĥ⤷����
ʣ���� <var><a href="#ipaddr">IPAddr</a></var> �˲���ǽ��
������ DNS �ɥᥤ��̾�Ǥ�������� (<var><a href="#domain">Domain</a></var>
�Ȱ�äơ������Ͼ嵭�򻲾�) ����Ū�ʥۥ��Ȥ�ɽ���������Ȥ��Ĥ�
<var><a href="#ipaddr">IPAddr</a></var> (�⤷���ϰ㤦
<var><a href="#ipaddr">IPAddr</a></var> �Υۥ��ȤΥꥹ��) �˲��
����ʤ���Фʤ�ޤ���)��</p>
<div class="example"><h3>��</h3><p><code>
prep.ai.mit.edu<br />
www.apache.org
</code></p></div>
<div class="note"><h3>��</h3>
<p>¿���ξ�硢<var>Hostname</var> ������� <var><a href="#ipaddr">IPAddr</a></var> ����ꤷ����DNS ��å����åפ�
�򤱤뤳�Ȥ��Ǥ��뤿�ᡢ��Ψ���ɤ��ʤ�ޤ���Apache ��̾������
�͡��ॵ���Фؤ���³���٤� PPP ��ξ��ʤɤˤ��ʤ���֤�����
���Ȥ�����ޤ���</p>
<p><var>Hostname</var> ����Ӥ���ʸ��ʸ�����̤����˹Ԥʤ�졢
<var>Hostname</var> �Ͼ�� DNS �ĥ꡼�Υ롼�Ȥ���Ϥޤ��ΤȤߤʤ���ޤ���
�Ǥ����顢��ĤΥɥᥤ�� <code>WWW.MyDomain.com</code> ��
<code>www.mydomain.com.</code> (�Ǹ�Υԥꥪ�ɤ�����) ��Ʊ��Ǥ����
�ߤʤ���ޤ���</p>
</div></dd>
</dl>
<h3>����</h3>
<ul>
<li><a href="/dns-caveats.html">DNS �˴ؤ�������</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="Proxy" id="Proxy">&lt;Proxy&gt;</a> <a name="proxy" id="proxy">�ǥ��쥯�ƥ���</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>&lt;Proxy <var>wildcard-url</var>&gt; ...&lt;/Proxy&gt;</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p><code class="directive">&lt;Proxy&gt;</code> ������������
�ǥ��쥯�ƥ��֤ϥޥå�����ץ?������륳��ƥ�ĤˤΤ�Ŭ�Ѥ���ޤ���
����������Υ磻��ɥ����ɤ��Ȥ��ޤ���</p>
<p>�㤨�С���������� <code>yournetwork.example.com</code> ��
�ۥ��ȤˤΤߥץ?�������Ф��ͳ����������������Ĥ��ޤ�:</p>
<div class="example"><p><code>
&lt;Proxy *&gt;<br />
<span class="indent">
Order Deny,Allow<br />
Deny from all<br />
Allow from yournetwork.example.com<br />
</span>
&lt;/Proxy&gt;
</code></p></div>
<p>������� <code>example.com</code> �� <code>foo</code> �ǥ��쥯�ȥ��
���٤ƤΥե�������Ф��ơ��ץ?�������Ф��̤�������줿�Ȥ��ˤ�
<code>INCLUDES</code> �ե��륿���̤�������褦�����ꤷ�ޤ�:</p>
<div class="example"><p><code>
&lt;Proxy http://example.com/foo/*&gt;<br />
<span class="indent">
SetOutputFilter INCLUDES<br />
</span>
&lt;/Proxy&gt;
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="ProxyBadHeader" id="ProxyBadHeader">ProxyBadHeader</a> <a name="proxybadheader" id="proxybadheader">�ǥ��쥯�ƥ���</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>ProxyBadHeader IsError|Ignore|StartBody</code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>ProxyBadHeader IsError</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">�ߴ���:</a></th><td>2.0.44 �ʹ�</td></tr>
</table>
<p><code class="directive">ProxyBadHeader</code> �ǥ��쥯�ƥ��֤Ϲ�ʸŪ��
�ְ�ä��إå� (<em>�Ĥޤ�</em> ������ޤޤʤ����) �������ä��Ȥ���
<code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code> ���ɤ������񤦤�����ޤ����ʲ��ΰ����
��뤳�Ȥ��Ǥ��ޤ�:</p>
<dl>
<dt><code>IsError</code></dt>
<dd>�ꥯ�����Ȥ���ߤ��� 502 (Bad Gateway) ������֤���
���줬�ǥե���Ȥ�ư��Ǥ���</dd>
<dt><code>Ignore</code></dt>
<dd>�ְ�ä��إå��Ԥ򤽤⤽��¸�ߤ��ʤ��ä���ΤȤ��ư�����</dd>
<dt><code>StartBody</code></dt>
<dd>�ְ�ä��إå��Ԥ������ä��顢�إå����ɤ߹��ߤ�λ���ơ�
����ʹߤλĤ��ܥǥ��Ȥ��ư���������ϥإå��ȥܥǥ��δ֤˶��Ԥ�����˺���
���ޤäƤ���褦�ʡ��������ư��Ƥ��ʤ��Хå�����ɥ����Ф�����Ȥ��ˡ�
�������򤹤�Τ����Ω���ޤ���</dd>
</dl>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="ProxyBlock" id="ProxyBlock">ProxyBlock</a> <a name="proxyblock" id="proxyblock">�ǥ��쥯�ƥ���</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>ProxyBlock *|<var>word</var>|<var>host</var>|<var>domain</var>
[<var>word</var>|<var>host</var>|<var>domain</var>] ...</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p><code class="directive">ProxyBlock</code> �ǥ��쥯�ƥ��֤϶���Ƕ��ڤ�줿
��硢�ۥ���̾���ɥᥤ��Υꥹ�Ȥ���ꤷ�ޤ���������̾�ˤ��θ�硢�ۥ���̾��
�ɥᥤ���ޤॵ���Ȥؤ� HTTP��HTTPS��FTP �ˤ��ɥ�����ȤΥꥯ�����Ȥ�
�ץ?�������Фˤ��<em>�֥�å�����ޤ�</em>���ץ?���⥸�塼���
��ư���˥ۥ���̾�Ȼפ������ܤ� IP ���ɥ쥹��Ĵ�١���Υƥ��ȤΤ����
����å��夷�ޤ�������ˤ�ꡢ�����Фε�ư�������٤��ʤ뤫�⤷��ޤ���</p>
<div class="example"><h3>Example</h3><p><code>
ProxyBlock joes-garage.com some-host.co.uk rocky.wotsamattau.edu
</code></p></div>
<p><code>rocky.wotsamattau.edu</code> �� IP ���ɥ쥹�ǻ��Ȥ��줿�Ȥ��Ǥ�
�ޥå����ޤ���</p>
<p><code>wotsamattau.edu</code> �Υޥå��ˤ� <code>wotsamattau</code>
�����Ǥ⽽ʬ�Ǥ���</p>
<div class="example"><p><code>
ProxyBlock *
</code></p></div>
<p>�Ϥ��٤ƤΥ����Ȥؤ���³��֥�å����뤳�Ȥ���դ��Ƥ���������</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="ProxyDomain" id="ProxyDomain">ProxyDomain</a> <a name="proxydomain" id="proxydomain">�ǥ��쥯�ƥ���</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>ProxyDomain <var>Domain</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤ϥ���ȥ�ͥå���� Apache �ץ?�������ФˤΤ�
ͭ�ѤǤ���<code class="directive">ProxyDomain</code> �ǥ��쥯�ƥ��֤�
apache �ץ?�������Ф�°����ǥե���ȤΥɥᥤ�����ꤷ�ޤ���
�ɥᥤ��̾��̵���ꥯ�����Ȥ��������硢���ꤵ�줿 <var>Domain</var>
���ɲä��줿Ʊ���ۥ��ȤؤΥ�����쥯�ȱ����֤���ޤ���</p>
<div class="example"><h3>��</h3><p><code>
ProxyRemote * http://firewall.mycompany.com:81<br />
NoProxy .mycompany.com 192.168.112.0/21<br />
ProxyDomain .mycompany.com
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="ProxyErrorOverride" id="ProxyErrorOverride">ProxyErrorOverride</a> <a name="proxyerroroverride" id="proxyerroroverride">�ǥ��쥯�ƥ���</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>ProxyErrorOverride On|Off</code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>ProxyErrorOverride Off</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">�ߴ���:</a></th><td>�С������ 2.0 �ʹߤǻ��Ѳ�ǽ</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤ϥ�С����ץ?������Ѥ��Ƥ��ơ�
����ɥ桼���������륨�顼�ڡ����γ������̤Τ�Τˤ������Ȥ���
ͭ�ѤǤ������Υǥ��쥯�ƥ��֤� (<code class="module"><a href="/mod/mod_include.html">mod_include</a></code> �� SSI �ˤ�ä�)
���󥯥롼�ɤ��줿�ե����뤬���顼�����ɤ�������ơ�������ư���
����褦�ˤ⤷�ޤ� (�ǥե���Ȥ�ư��ϡ��ץ?�����줿�����Ф�
���顼�ڡ�����ɽ���ǡ����Υǥ��쥯�ƥ��֤�ͭ��ˤ���� SSI �Υ��顼
��å�������ɽ�����ޤ�)��</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="ProxyIOBufferSize" id="ProxyIOBufferSize">ProxyIOBufferSize</a> <a name="proxyiobuffersize" id="proxyiobuffersize">�ǥ��쥯�ƥ���</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>ProxyIOBufferSize <var>bytes</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>ProxyIOBufferSize 8192</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p><code class="directive">ProxyIOBufferSize</code> �ǥ��쥯�ƥ��֤����Ϥ�
�����Ѥΰ������Ȥ��ƻȤ��������Хåե��Υ�������Ĵ�����ޤ���
�������� <code>8192</code> �ʲ��Ǥʤ���Фʤ�ޤ���</p>
<p>�ۤȤ�ɤ��٤Ƥξ�硢�����ͤ��ѹ�������ͳ�Ϥ���ޤ���</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="ProxyMatch" id="ProxyMatch">&lt;ProxyMatch&gt;</a> <a name="proxymatch" id="proxymatch">�ǥ��쥯�ƥ���</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>&lt;ProxyMatch <var>regex</var>&gt; ...&lt;/ProxyMatch&gt;</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p><code class="directive">&lt;ProxyMatch&gt;</code> �� URL �Υޥå���
����ɽ�����Ѥ��뤳�Ȥ��� <code class="directive">&lt;Proxy&gt;</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="ProxyMaxForwards" id="ProxyMaxForwards">ProxyMaxForwards</a> <a name="proxymaxforwards" id="proxymaxforwards">�ǥ��쥯�ƥ���</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>ProxyMaxForwards <var>number</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>ProxyMaxForwards 10</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">�ߴ���:</a></th><td>Apache 2.0 �ʹߤǻ��Ѳ�ǽ</td></tr>
</table>
<p><code class="directive">ProxyMaxForwards</code> �ǥ��쥯�ƥ��֤�
�ꥯ�����Ȥ� <code>Max-Forwards</code> �إå������ꤵ��Ƥ��ʤ�����
�ꥯ�����Ȥ��̲��ǽ�ʥץ?���κ���������ꤷ�ޤ��������
�ץ?����̵�¥롼�פ� DoS ������ɤ���������ꤵ��Ƥ��ޤ���</p>
<div class="example"><h3>��</h3><p><code>
ProxyMaxForwards 15
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="ProxyPass" id="ProxyPass">ProxyPass</a> <a name="proxypass" id="proxypass">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>��⡼�ȥ����Ф�?���륵���Ф� URL ���֤˥ޥåפ���</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>ProxyPass [<var>path</var>] !|<var>url</var> [<var>key=value</var> <var>key=value</var> ...]]</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���, �ǥ��쥯�ȥ�</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤ϥ�⡼�ȥ����Ф�?���륵���Ф�̾�����֤�
�ޥåפǤ���褦�ˤ��ޤ����?���륵���Ф��̾�ΰ�̣�ǤΥץ?����
���Ƥ�ư�������⡼�ȥ����ФΥߥ顼�Ȥ��ƿ����񤤤ޤ���
<var>path</var> �ϥ?����β��ۥѥ���̾���Ǥ���<var>url</var> ��
��⡼�ȥ����Ф���ʬ URL �ˤʤꡢ�����꡼ʸ�����ޤळ�ȤϤǤ��ޤ���</p>
<div class="warning"><code class="directive">ProxyPass</code> �ǥ��쥯�ƥ��֤�
�ȤäƤ���Ȥ��� <code class="directive"><a href="#proxyrequests">ProxyRequests</a></code> �ǥ��쥯�ƥ��֤��̾��
<strong>off</strong> �����ꤵ��Ƥ���٤��Ǥ���</div>
<p>�?���륵���ФΥ��ɥ쥹�� <code>http://example.com/</code> �Ǥ����
���ޤ�������ȡ�</p>
<div class="example"><p><code>
ProxyPass /mirror/foo/ http://backend.example.com/
</code></p></div>
<p>�����ꤹ��� <code>http://example.com/mirror/foo/bar</code> �ؤ�
�ꥯ�����Ȥ�����Ū�� <code>http://backend.example.com/bar</code> �ؤ�
�ץ?���ꥯ�����Ȥ��Ѵ�����뤳�Ȥˤʤ�ޤ���</p>
<p>���֥ǥ��쥯�ȥ���С����ץ?���������ʤ��Ȥ��� <code>!</code> ��
���Ω���ޤ���<em>�㤨��</em>��</p>
<div class="example"><p><code>
ProxyPass /mirror/foo/i !<br />
ProxyPass /mirror/foo http://backend.example.com
</code></p></div>
<p>�� <code>/mirror/foo/i</code> ��<em>��</em>
<code>/mirror/foo</code> �ؤΤ��٤ƤΥꥯ�����Ȥ�
<code>backend.example.com</code> �˥ץ?�����ޤ���</p>
<div class="note"><h3>��</h3>
<p>���֤Ͻ��פǤ�������Ū�� <code class="directive">ProxyPass</code>
�ǥ��쥯�ƥ��֤�<em>����</em>
��ǥ��쥯�ƥ��֤��֤�ɬ�פ�����ޤ���</p>
</div>
<p>2.1 �ο���ǽ�ǡ��Хå�����ɥ����ФȤ���³�˥ס��뤵�줿���ͥ�������
�Ȥ���褦�ˤʤ�ޤ�����<code>key=value</code> �����Υѥ�᡼����
���Υ��ͥ������ס���󥰤�Ĵ�����Ǥ��ޤ���<code>Hard Maximum</code>
�Υǥե�����ͤϡ�ͭ��ˤʤäƤ��� MPM �ǤΥץ?��������Υ���åɿ���
Ʊ�����Υ��ͥ��������Ǥ���prefork MPM �Ǥ��̾�� 1 �ǡ�worker MPM �Ǥ�
<code class="directive">ThreadsPerChild</code> ��Ĵ������ޤ���</p>
<p><code>min</code> ������ǡ��Хå�����ɥ����ФȤδ֤˲��ܤΥ��ͥ�������
�������������ޤ�ޤ���Soft Maximum <code>smax</code> �ο���
ã����ޤ�ɬ�פ˱����ƥ��ͥ���������������ޤ���<code>smax</code>
��Ķ�������Υ��ͥ������ϡ���¸���� <code>ttl</code> �����Ǥ���ޤ���
�Хå�����ɥ����Ф� Hard Maximum <code>max</code> �ο��ʾ�Υ��ͥ�������
�������뤳�ȤϤ���ޤ���</p>
<div class="example"><p><code>
ProxyPass /example http://backend.example.com smax=5 max=20 ttl=120 retry=300
</code></p></div>
<table>
<tr><th>�ѥ�᡼��</th>
<th>�ǥե������</th>
<th>����</th></tr>
<tr><td>min</td>
<td>0</td>
<td>�Хå�����ɥ����ФȤ���³��
��˳����Ƥ��륳�ͥ��������κǾ���</td></tr>
<tr><td>max</td>
<td>1...n</td>
<td>�Хå�����ɥ����ФȤ���³���� Hard Maximum
<span class="transnote">(<em>����:</em> �ϡ��ɥ�ߥå�)</span>��
�ǥե�����ͤϡ����Ѥ��Ƥ��� MPM �Υץ?��������Υ���åɿ��ˤʤäƤ��ޤ���
Prefork MPM �ǤϾ�� 1 �ǡ�Worker MPM �Ǥ� <code class="directive">ThreadsPerChild</code>
��Ĵ��Ǥ��ޤ���Hard Maximum �ʾ�˥Хå�����ɥ����ФȤΥ��ͥ�������
�������뤳�ȤϤ���ޤ���</td></tr>
<tr><td>smax</td>
<td>max</td>
<td>��³���� Soft Maximum <span class="transnote">(<em>����:</em> ���եȥ�ߥå�)</span>�ޤǡ�
���ͥ�������ɬ�פ˱�������������ޤ���
<code>smax</code> ��Ķ�������Υ��ͥ���������¸���� <code>ttl</code>
�����Ǥ���ޤ���
</td></tr>
<tr><td>ttl</td>
<td>-</td>
<td><code>smax</code> ����Ķ�������ư���֤Υ��ͥ���������¸���֤�
�äǻ��ꤷ�ޤ������δ����˻��Ѥ���ʤ��ä����ͥ������ϡ�
�����Ĥ����ޤ���
</td></tr>
<tr><td>timeout</td>
<td><code class="directive">Timeout</code></td>
<td>���ͥ�����󥿥��ॢ���Ȥ��äǻ��ꤷ�ޤ����ä˻��ꤵ��ʤ���С�
�ե꡼�ʥ��ͥ�����������Ǥ���ޤ��Ԥ��ޤ������Υǥ��쥯�ƥ��֤�
<code>max</code> �ѥ�᡼���ȹ�碌�ƻȤ����Ȥǡ��Хå�����ɥ����ФȤ�
��³�������椹��Τ˻Ȥ��ޤ���
</td></tr>
<tr><td>acquire</td>
<td>-</td>
<td>���ꤹ��ȡ����ͥ������ס��뤫��ե꡼�Υ��ͥ�������������뤿���
�Ե������Ԥ����֤κ����ͤˤʤ�ޤ����ե꡼�Υ��ͥ�����󤬥ס���ˤʤ��ä����ϡ�
<code>SERVER_BUSY</code> ���ơ����������饤����Ȥ��֤���ޤ���
</td></tr>
<tr><td>keepalive</td>
<td>Off</td>
<td>�Хå�����ɥ����Ф� Apache �δ֤˥ե��������������뤬������ˤϡ�
���Υѥ�᡼����ȤäƤ����������ե�������������ϱ�ˤ��ơ�
���ư���֤Υ��ͥ���������Ȥ����Ȥ��ޤ���
���Υե饰�� OS �˻ؼ����ơ�<code>KEEP_ALIVE</code> ��å����������ư���֤�
���ͥ������Ǥ�����褦�ˤ��ޤ� (�ֳ֤� OS �Υ��?�Х�����˰�¸����
�̾�� 120ms �ֳ�) ������ˤ�äƥե�������������ˤ�äƥ��ͥ������
��Ȥ���뤳�Ȥ��ɤ��ޤ���keepalive ��ͭ��ˤ���ˤϡ����Υץ�ѥƥ���
<code>On</code> �ˤ��Ƥ���������
</td></tr>
<tr><td>retry</td>
<td>60</td>
<td>���ͥ�������ס���󥰤��뤿��Ρ���ȥ饤�Υ����ॢ���Ȥ��ä�
���ꤷ�ޤ����Хå�����ɥ����ФؤΥ��ͥ������ס���󥰤����Ԥ������ϡ�
�����ॢ���Ȥδ�֤��᤮��ޤǡ����Υ����Ф˥ꥯ�����Ȥ�ե���ɤ��ޤ���
���ε�ǽ��Ȥ��ȡ��Хå�����ɥ����Ф���ƥʥ󥹤Τ���˥���åȥ����󤷡�
��ǥ���饤��������Ȥ��ä����Ȥ��Ǥ��ޤ���
</td></tr>
<tr><td>loadfactor</td>
<td>1</td>
<td>��������������ٷ����Ǥ���BalancerMember �ǻȤ��ޤ���
1 ���� 100 �ޤǤο���Ǥ��Υ�������Ф������������줿���Ψ����ꤷ�ޤ���
</td></tr>
<tr><td>route</td>
<td>-</td>
<td>�?�ɥХ�󥵤ǻȤä���硢������Υ롼�ƥ��󥰤򤷤ޤ���
�롼�Ȥϥ��å���� ID ���ղä��줿�ͤˤʤ�ޤ���
</td></tr>
<tr><td>redirect</td>
<td>-</td>
<td>������Υ�����쥯������ϩ�Ǥ��������ͤ��̾�ϡ�
�����˥��饹������Ρ��ɤ����������ưŪ������뤿��˻Ȥ��ޤ���
���å���� ID ��̵���ꥯ���������Ƥ���ꤷ�����ϡ�
�����ͤ�Ʊ���롼�ƥ��󥰥ѥ�᡼������
BalancerMember �˥�����쥯�Ȥ���ޤ���
</td></tr>
</table>
<p>Proxy �ǥ��쥯�ƥ��֤Υ������ब <code>balancer://</code> �ˤʤäƤ�����ϡ�
�Хå�����ɥ����Фȼºݤˤ��̿����ʤ����ۥ��������������ޤ���
���Υ�����ϴ��Ĥ��� "��ʪ��" ������δ����Ĥ����ɤ�ޤ���
���ξ��ѥ�᡼���ϡ����β��ۥ�������Ф������ꤵ��ޤ���
</p>
<table>
<tr><th>�ѥ�᡼��</th>
<th>�ǥե������</th>
<th>����</th></tr>
<tr><td>lbmethod</td>
<td>-</td>
<td>Balancer �Υ?�ɥХ����ˡ�����Ѥ���?�ɥХ�󥹤�
�������塼�����ˡ�����Ӥޤ�������ꥯ�����Ȥο��ǽŤ��դ�����
<code>byrequests</code> ����ž���̤ΥХ��ȿ��ǽŤ��դ�����
<code>bytraffic</code> ������Ǥ��ޤ����ǥե���Ȥ�
<code>byrequests</code> �Ǥ���
</td></tr>
<tr><td>stickysession</td>
<td>-</td>
<td>�Х�󥵡��Υ��ƥ��å������å����̾�Ǥ����̾�Ϥ����ͤ� <code>JSESSIONID</code>
�� <code>PHPSESSIONID</code> �Ȥ��ä���Τˤʤ�ޤ����������ͤ�
�Хå�����ɥ��ץꥱ�������Υ��ݡ��Ȥ��륻�å����˰�¸���ޤ���
</td></tr>
<tr><td>nofailover</td>
<td>Off</td>
<td><code>On</code> �ˤʤäƤ���ȡ�����������顼�򵯤�������
̵��ˤʤäƤ�����˥��å�����ڤ�ޤ���
�Хå�����ɥ����Ф����å�����ץꥱ�������򥵥ݡ��Ȥ��Ƥ��ʤ����ϡ�
On �ˤ��Ƥ���������
</td></tr>
<tr><td>timeout</td>
<td>0</td>
<td>�Х�󥵡��Υ����ॢ���Ȥ��äǻ��ꤷ�ޤ���
�����ͤ����ꤹ��ȡ��ե꡼�Υ�������������ޤǤκ����Ե����֤ˤʤ�ޤ���
�ǥե���ȤǤ��Ե����ޤ���
</td></tr>
<tr><td>maxattempts</td>
<td>1</td>
<td>�ե����륪���С����ߤ����β������ꤷ�ޤ���
</td></tr>
</table>
<div class="example"><p><code>
ProxyPass /special-area http://special.example.com/ smax=5 max=10<br />
ProxyPass / balancer://mycluster stickysession=jsessionid nofailover=On<br />
&lt;Proxy balancer://mycluster&gt;<br />
<span class="indent">
BalancerMember http://1.2.3.4:8009<br />
BalancerMember http://1.2.3.5:8009 smax=10<br />
# Less powerful server, don't send as many requests there<br />
BalancerMember http://1.2.3.6:8009 smax=1 loadfactor=20<br />
</span>
&lt;/Proxy&gt;
</code></p></div>
<p><code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code> ������������ǻȤ�줿��硢�ǽ�ΰ����
��ά���졢�?����ǥ��쥯�ȥ�� <code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code> �����������ޤ���</p>
<p>������ʥ�С����ץ?�������꤬ɬ�פʾ��ϡ�<code>[P]</code>
�ե饰�դ��� <code class="directive"><a href="/mod/mod_rewrite.html#rewriterule">RewriteRule</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="ProxyPassReverse" id="ProxyPassReverse">ProxyPassReverse</a> <a name="proxypassreverse" id="proxypassreverse">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>��С����ץ?�����줿�����Ф�������줿 HTTP ����إå���
URL ��Ĵ������</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>ProxyPassReverse [<var>path</var>] <var>url</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���, �ǥ��쥯�ȥ�</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤� Apache �� HTTP ������쥯�ȱ����
<code>Location</code>, <code>Content-Location</code>, <code>URI</code>
�إå���Ĵ���򤵤��ޤ�������ϡ�Apache ����С����ץ?���Ȥ��ƻȤ��Ƥ���
�Ȥ��ˡ���С����ץ?�����̤��ʤ��ǥ����������뤳�Ȥ��ɤ������
���פǤ�������ˤ��Хå�����ɥ����Ф� HTTP ������쥯�Ȥ�
��С����ץ?���ȥХå�����ɤδ֤ǰ�����褦�ˤʤ�ޤ���</p>
<p>�ǥ��쥯�ƥ��֤���������Ƥ��� HTTP ����إå��Τߤ��񤭴������ޤ���
Apache ��¾�α���إå���񤭴������ꡢHTML �ڡ�������� URL ���Ȥ�
�񤭴������ꤹ�뤳�ȤϤ���ޤ���HTML ����򸫤ơ�URL ���Ȥ�񤭴�����
�⥸�塼��� Nick Kew ����� <a href="http://apache.webthing.com/mod_proxy_html/">mod_proxy_html</a> ������ޤ���</p>
<p><var>path</var> �ϥ?���벾�ۥѥ���̾���Ǥ���<var>url</var> ��
��⡼�ȥ����Ф���ʬ URL �Ǥ��������� <code class="directive"><a href="#proxypass">ProxyPass</a></code> �ǥ��쥯�ƥ��֤�Ʊ�ͤǤ���</p>
<p>�㤨�С��?���륵���ФΥ��ɥ쥹�� <code>http://example.com/</code>
���Ȥ��ޤ��������</p>
<div class="example"><p><code>
ProxyPass /mirror/foo/ http://backend.example.com/<br />
ProxyPassReverse /mirror/foo/ http://backend.example.com/<br />
ProxyPassReverseCookieDomain backend.example.com public.example.com<br />
ProxyPassReverseCookiePath / /mirror/foo/
</code></p></div>
<p>�Ȥ�������򤹤�ȡ�<code>http://example.com/mirror/foo/bar</code>
�ؤΥ?����ꥯ�����Ȥ� <code>http://backend.example.com/bar</code>
�ؤΥץ?���ꥯ�����Ȥ������ǥ�����쥯�Ȥ��������ǤϤ���ޤ���
(����� <code>ProxyPass</code> �ε�ǽ�Ǥ�)��<code>backend.example.com</code>
�����������쥯�Ȥ����ݤ�ߤޤ���<code>http://backend.example.com/bar</code>
�� <code>http://backend.example.com/quux</code> �˥�����쥯�Ȥ��줿�Ȥ���
Apache �� HTTP ������쥯�ȱ���򥯥饤����Ȥ��������ˡ�
<code>http://example.com/mirror/foo/quux</code> ���ѹ����ޤ���
URL ��������Τ˻Ȥ���ۥ���̾�� <code class="directive"><a href="/mod/core.html#usecanonicalname">UseCanonicalName</a></code> ������˱��������򤵤�뤳�Ȥ�
��դ��Ƥ���������</p>
<p><code class="directive">ProxyPassReverse</code> �ǥ��쥯�ƥ��֤�
�б����� <code class="directive"><a href="#proxypass">ProxyPass</a></code> �ǥ��쥯�ƥ��֤ˤϰ�¸���ʤ����ᡢ
<code class="module"><a href="/mod/mod_rewrite.html">mod_rewrite</a></code> �Υץ?���̲ᵡǽ
(<code>RewriteRule ... [P]</code>) ��ʻ���ƻ��Ѥ��뤳�Ȥ��Ǥ��ޤ���</p>
<p><code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</a></code> ������������ǻȤ�줿���ϡ�
�ǽ�ΰ���Ͼ�ά���졢�?����ǥ��쥯�ȥ�� <code class="directive"><a href="/mod/core.html#location">&lt;Location&gt;</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="ProxyPassReverseCookieDomain" id="ProxyPassReverseCookieDomain">ProxyPassReverseCookieDomain</a> <a name="proxypassreversecookiedomain" id="proxypassreversecookiedomain">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>��С����ץ?�������Ф���� Set-Cookie �إå��� Domain ʸ�����
Ĵ������</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>ProxyPassReverseCookieDomain <var>internal-domain</var> <var>public-domain</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���, �ǥ��쥯�ȥ�</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p>����ˡ�ϴ���Ū��
<code class="directive"><a href="#proxypassreverse">ProxyPassReverse</a></code> ��Ʊ���Ǥ�����
�إå��� URL ������� <code>Set-Cookie</code> �إå���
<code>domain</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="ProxyPassReverseCookiePath" id="ProxyPassReverseCookiePath">ProxyPassReverseCookiePath</a> <a name="proxypassreversecookiepath" id="proxypassreversecookiepath">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>Reverse �ץ?�������Ф���� Set-Cookie �إå��� Path ʸ�����
Ĵ������</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>ProxyPassReverseCookiePath <var>internal-path</var> <var>public-path</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���, �ǥ��쥯�ȥ�</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p>����ˡ�ϴ���Ū��
<code class="directive"><a href="#proxypassreverse">ProxyPassReverse</a></code> ��Ʊ���Ǥ�����
�إå��� URL ������� <code>Set-Cookie</code> �إå���
<code>path</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="ProxyPreserveHost" id="ProxyPreserveHost">ProxyPreserveHost</a> <a name="proxypreservehost" id="proxypreservehost">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>�ץ?���ꥯ�����Ȥˡ������դ��� Host HTTP �إå���Ȥ�</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>ProxyPreserveHost On|Off</code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>ProxyPreserveHost Off</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">�ߴ���:</a></th><td>Apache 2.0.31 �ʹߤǻ��Ѳ�ǽ</td></tr>
</table>
<p>���Υ��ץ����ͭ��ˤʤäƤ����硢<code class="directive">ProxyPass</code>
�ǻ��ꤷ���ۥ���̾������ˡ������դ����ꥯ�����Ȥ� Host: �Ԥ�
�ץ?����Υۥ��Ȥ�����ޤ���</p>
<p>���Υ��ץ������̾�� <code>Off</code> �����ꤷ�Ƥ���������
�ۤȤ�ɤξ�硢��������̤�̾���١����ΥС������ۥ��ƥ��󥰤�ԤʤäƤ��ơ�
������ Host �إå���Хå�����ɥ����Ф���᤹��ɬ�פΤ���Ȥ��Τ褦�ʡ�
���̤����꤬ɬ�פʾ��ˤΤ�ͭ�ѤǤ���</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="ProxyReceiveBufferSize" id="ProxyReceiveBufferSize">ProxyReceiveBufferSize</a> <a name="proxyreceivebuffersize" id="proxyreceivebuffersize">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>�ץ?������� HTTP �� FTP ��³�Τ���Υͥåȥ���Хåե�������</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>ProxyReceiveBufferSize <var>bytes</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>ProxyReceiveBufferSize 0</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p><code class="directive">ProxyReceiveBufferSize</code> �ǥ��쥯�ƥ��֤�
���롼�ץåȤ�夲�뤿�������Ū�� (TCP/IP) �ͥåȥ���Хåե��Υ�������
���ꤷ�ޤ����ͤ� <code>512</code> �ʾ夫�������ƥ�Υǥե���ȤΥХåե�
���������̣���� <code>0</code> �Ǥʤ���Фʤ�ޤ���</p>
<div class="example"><h3>��</h3><p><code>
ProxyReceiveBufferSize 2048
</code></p></div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="ProxyRemote" id="ProxyRemote">ProxyRemote</a> <a name="proxyremote" id="proxyremote">�ǥ��쥯�ƥ���</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>ProxyRemote <var>match</var> <var>remote-server</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤Ϥ��Υץ?�����Ф����⡼�ȥץ?����������ޤ���
<var>match</var> �ϥ�⡼�ȥ����Ф����ݡ��Ȥ��� URL �������ࡢ
��⡼�ȥ����Ф��Ȥ��Ϥ��� URL �ΰ���ʬ�������Ф����٤Ƥ�
�ꥯ�����Ȥ˻Ȥ��뤳�Ȥ򼨤� <code>*</code> �Τɤ줫�ˤʤ�ޤ���
<var>remote-server</var> �ϥ�⡼�ȥ����Ф���ʬ URL �Ǥ�����ʸ:</p>
<div class="example"><p><code>
<dfn>remote-server</dfn> =
<var>scheme</var>://<var>hostname</var>[:<var>port</var>]
</code></p></div>
<p><var>scheme</var> �ϼºݾ��⡼�ȥ����ФȤ��̿��˻Ȥ���ץ�ȥ����
���ꤷ�ޤ������Υ⥸�塼��Ǥ� <code>http</code> ���������ݡ��Ȥ����
���ޤ���</p>
<div class="example"><h3>��</h3><p><code>
ProxyRemote http://goodguys.com/ http://mirrorguys.com:8000<br />
ProxyRemote * http://cleversite.com<br />
ProxyRemote ftp http://ftpproxy.mydomain.com:8080
</code></p></div>
<p>������Ǥϡ��ץ?���� FTP �ꥯ�����Ȥ��̤� HTTP �ꥯ�����Ȥ�����
���Τ褦�ʥꥯ�����Ȥ򰷤����̤Υץ?����ž�����ޤ���</p>
<p>���Υ��ץ����ϥ�С����ץ?��������⥵�ݡ��Ȥ��ޤ���
�����Ф��̤Υե���ɥץ?���θ��˱�����Ƥ�����Ǥ�
�Хå�����ɥ����֥����Ф�С������ۥ��Ȥ� URL ���֤�����뤳�Ȥ�
�Ǥ��ޤ���</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="ProxyRemoteMatch" id="ProxyRemoteMatch">ProxyRemoteMatch</a> <a name="proxyremotematch" id="proxyremotematch">�ǥ��쥯�ƥ���</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>ProxyRemoteMatch <var>regex</var> <var>remote-server</var></code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p><code class="directive">ProxyRemoteMatch</code> �Ϻǽ�ΰ�����ꥯ�����Ȥ��줿
URL �˥ޥå���������ɽ���Ǥ��뤳�Ȥ��� <code class="directive"><a href="#proxyremote">ProxyRemote</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="ProxyRequests" id="ProxyRequests">ProxyRequests</a> <a name="proxyrequests" id="proxyrequests">�ǥ��쥯�ƥ���</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>ProxyRequests On|Off</code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>ProxyRequests Off</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p>����� Apache �Υե���ɥץ?�������ФȤ��Ƥ�ư���
ͭ��⤷����̵��ˤ��ޤ���(ProxyRequests �� <code>Off</code> ��
���ꤷ�Ƥ⡢<code class="directive"><a href="#proxypass">ProxyPass</a></code>
�������̵��ˤʤ�ޤ���)</p>
<p>�̾�Υ�С����ץ?��������Ǥϡ����Υ��ץ����� <code>Off</code>
�����ꤷ�Ƥ���������</p>
<p>HTTP �� FTP �����ȤؤΥץ?���ε�ǽ��ͭ��ˤ��������ϡ�
<code class="module"><a href="/mod/mod_proxy_http.html">mod_proxy_http</a></code> �� <code class="module"><a href="/mod/mod_proxy_ftp.html">mod_proxy_ftp</a></code> ��
�����Ф��Ȥ߹��ޤ�Ƥ��ʤ���Фʤ�ޤ���</p>
<div class="warning"><h3>�ٹ�</h3>
<p><a href="#access">�����Ф�����ˤ���</a>�ޤ� <code class="directive"><a href="#proxyrequests">ProxyRequests</a></code> ��ͭ��ˤ��ʤ��Ǥ���������
�����ץ�ץ?�������ФϤ��ʤ����ȤΥͥåȥ���ˤȤäƤ⡢
���󥿡��ͥå����ΤˤȤäƤ�?�Ǥ���</p>
</div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="ProxyTimeout" id="ProxyTimeout">ProxyTimeout</a> <a name="proxytimeout" id="proxytimeout">�ǥ��쥯�ƥ���</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>ProxyTimeout <var>seconds</var></code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>ProxyTimeout 300</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
<tr><th><a href="directive-dict.html#Compatibility">�ߴ���:</a></th><td>Apache 2.0.31 �ʹߤǻ��Ѳ�ǽ</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤ϥ桼�����ץ?���ꥯ�����ȤΥ����ॢ���Ȥ�
����Ǥ���褦�ˤ��ޤ�������ϥϥ󥰤��Ƥ��ޤ��٤����⤷���ϵ�ư��
�������Ф����ꡢ�����Ф��ǡ������֤��ޤǤҤ������Ԥ�³�������
�����ॢ���Ȥ��֤��Ƥ��ˤ䤫��<span class="transnote">(<em>����:</em> graceful ��)</span>
���Ԥ��������������Ω���ޤ���</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="ProxyVia" id="ProxyVia">ProxyVia</a> <a name="proxyvia" id="proxyvia">�ǥ��쥯�ƥ���</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">����:</a></th><td>�ץ?�����줿�ꥯ�����Ȥ� <code>Via</code> HTTP ����إå�
�ˤ���󶡤�������</td></tr>
<tr><th><a href="directive-dict.html#Syntax">��ʸ:</a></th><td><code>ProxyVia On|Off|Full|Block</code></td></tr>
<tr><th><a href="directive-dict.html#Default">�ǥե����:</a></th><td><code>ProxyVia Off</code></td></tr>
<tr><th><a href="directive-dict.html#Context">����ƥ�����:</a></th><td>����������ե�����, �С������ۥ���</td></tr>
<tr><th><a href="directive-dict.html#Status">���ơ�����:</a></th><td>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">�⥸�塼��:</a></th><td>mod_proxy</td></tr>
</table>
<p>���Υǥ��쥯�ƥ��֤ϥץ?���� <code>Via:</code> HTTP �إå��λ��Ѥ�
���椷�ޤ������ꤵ��Ƥ���Ȥ���ϡ��ץ?�������Ф������Ĥ�Ҥ��äƤ���Ȥ���
�ץ?���ꥯ�����Ȥ�ή������椹�뤳�ȤǤ���<code>Via:</code> �إå��Ԥ�
������ <a href="http://www.ietf.org/rfc/rfc2616.txt">RFC 2616</a> (HTTP/1.1)
�� 14.45 ����ɤ�Ǥ���������</p>
<ul>
<li>�ǥե���Ȥ� <code>Off</code> �����ꤵ��Ƥ���ȡ����̤ʽ����
�Ԥʤ��ޤ��󡣥ꥯ�����Ȥ��ץ饤�� <code>Via:</code> �إå�������С�
�ѹ����줺�ˤ��Τޤ��Ϥ��ޤ���</li>
<li><code>On</code> �����ꤵ��Ƥ���С��ƥꥯ�����Ȥȥ�ץ饤��
<code>Via:</code> �Ԥ��ɲä���ޤ���</li>
<li><code>Full</code> �����ꤵ��Ƥ���С�<code>Via:</code> �إå���
��������ʬ�� Apache �����ФΥС�������ޤ�褦�ˤʤ�ޤ���</li>
<li><code>Block</code> �����ꤵ��Ƥ���С����٤ƤΥץ?���ꥯ�����Ȥ���
<code>Via:</code> �إå��������ޤ��������� <code>Via:</code> ��
��������뤳�ȤϤ���ޤ���</li>
</ul>
</div>
</div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="/en/mod/mod_proxy.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
<a href="/ja/mod/mod_proxy.html" title="Japanese">&nbsp;ja&nbsp;</a></p>
</div><div id="footer">
<p class="apache">Copyright 1995-2005 The Apache Software Foundation or its licensors, as applicable.<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>