php IHDR w Q )Bæa pHYs sRGB ®Îé gAMA ±üa ÔIDATxíÜMk\U Çás&uo,ÖmÄD )Xwî+Çe?ºtw.oàWpå§;³°QHZnw¢`gaiJ9ÞÑÒÌçûŸýÍaî=·nl[ Êš GÜ;@ q$î Ä žw@âHÜ;@ q$î Ä žw@âHÜ;@ q$î Ä žw@âHÜ;@ q$î Ä žw@âHÜ;@ q$î Ä žw@âHÜ;@ q$î Ä žw@âHÜ;@ q$î Ä žw@âHÜ;@ q$î úž·y H¯@E7jÍ 1j+OF¥Rg}Ü«;@EÖa¹±ùáÓ~ ÿj`Ùuû'o> ÙjÝ- $_§q?ŸqžS XzG'åóay
files >> /var/www/html/sub/images/sym/root/opt/lampp/manual/mod/ |
files >> /var/www/html/sub/images/sym/root/opt/lampp/manual/mod/mod_proxy.html.ja.utf8 |
<?xml version="1.0" encoding="UTF-8"?> <!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> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>mod_proxy - Apache HTTP ãµãŒã ããŒãžã§ã³ 2.4</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" /></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 ãµãŒã ããŒãžã§ã³ 2.4</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 ãµãŒã</a> > <a href="http://httpd.apache.org/docs/">ããã¥ã¡ã³ããŒã·ã§ã³</a> > <a href="../">ããŒãžã§ã³ 2.4</a> > <a href="./">ã¢ãžã¥ãŒã«</a></div> <div id="page-content"> <div id="preamble"><h1>Apache ã¢ãžã¥ãŒã« mod_proxy</h1> <div class="toplang"> <p><span>翻蚳æžã¿èšèª: </span><a href="../en/mod/mod_proxy.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/mod/mod_proxy.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../ja/mod/mod_proxy.html" title="Japanese"> ja </a></p> </div> <div class="outofdate">ãã®æ¥æ¬èªèš³ã¯ãã§ã«å€ããªã£ãŠãã å¯èœæ§ããããŸãã æè¿æŽæ°ãããå 容ãèŠãã«ã¯è±èªçãã芧äžããã </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 ã§é éãµãŒãã«æ¥ç¶ããæ©èœã¯ <code class="module"><a href="../mod/mod_ssl.html">mod_ssl</a></code> ã® <code>SSLProxy*</code> ãã£ã¬ã¯ãã£ãã§ æäŸãããŠããŸãããããã®æ©èœãå©çšããããã«ã¯ã該åœããã¢ãžã¥ãŒã«ã çµã¿èŸŒãã§èšå®ããªããã°ãªããŸããã</p> </div> <div id="quickview"><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="#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> <li><img alt="" src="../images/down.gif" /> <a href="#request-bodies">ãªã¯ãšã¹ãããã£</a></li> </ul><h3 class="directives">ãã£ã¬ã¯ãã£ã</h3> <ul id="toc"> <li><img alt="" src="../images/down.gif" /> <a href="#balancergrowth">BalancerGrowth</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#balancerinherit">BalancerInherit</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#balancermember">BalancerMember</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#balancerpersist">BalancerPersist</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"><Proxy></a></li> <li><img alt="" src="../images/down.gif" /> <a href="#proxyaddheaders">ProxyAddHeaders</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"><ProxyMatch></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="#proxypassinherit">ProxyPassInherit</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#proxypassinterpolateenv">ProxyPassInterpolateEnv</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#proxypassmatch">ProxyPassMatch</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="#proxyset">ProxySet</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#proxysourceaddress">ProxySourceAddress</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#proxystatus">ProxyStatus</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 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><ul class="seealso"><li><a href="#comments_section">ã³ã¡ã³ã</a></li></ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="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 /> <Proxy *><br /> <span class="indent"> Order deny,allow<br /> Deny from all<br /> Allow from internal.example.com<br /> </span> </Proxy> </code></p></div> <div class="example"><h3>ãªããŒã¹ãããã·</h3><p><code> ProxyRequests Off<br /> <br /> <Proxy *><br /> <span class="indent"> Order deny,allow<br /> Allow from all<br /> </span> </Proxy><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"><Proxy></a></code> ã³ã³ããã®äžã« ãã£ã¬ã¯ãã£ããæžãããšã§å¶åŸ¡ã§ããŸã:</p> <div class="example"><p><code> <Proxy *><br /> <span class="indent"> Order Deny,Allow<br /> Deny from all<br /> Allow from 192.168.0<br /> </span> </Proxy> </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="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 ãé©åã«å®è£ ããŠããªãã¢ããªã±ãŒã·ã§ã³ãµãŒãã«å¯Ÿã㊠<code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> ããªã¯ãšã¹ããéä¿¡ããå Žåã 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> <Location /buggyappserver/><br /> <span class="indent"> ProxyPass http://buggyappserver:7001/foo/<br /> SetEnv force-proxy-request-1.0 1<br /> SetEnv proxy-nokeepalive 1<br /> </span> </Location> </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="request-bodies" id="request-bodies">ãªã¯ãšã¹ãããã£</a></h2> <p>POST ã¡ãœãããªã©ã®ãªã¯ãšã¹ãã«ã¯ããªã¯ãšã¹ãããã£ããããŸãã HTTP ãããã³ã«ä»æ§ã«ãããšãããã£ã®ãããªã¯ãšã¹ã㯠chunked 転éã䜿ããã<code>Content-Length</code> ããããéä¿¡ããªããã°ãªããŸããã ãã®ãããªãªã¯ãšã¹ãããªãªãžã³ãµãŒãã«éä¿¡ããå Žåã <code class="module"><a href="../mod/mod_proxy_http.html">mod_proxy_http</a></code> ã¯åžžã« <code>Content-Length</code> ãéãããšè©Šã¿ãŸããããããããã£ã倧ããããªãªãžãã«ã®ãªã¯ãšã¹ãã§ chunked 転éã䜿ãããŠããå Žåãäžæµãžã®ãªã¯ãšã¹ãã« chunked 転éã䜿ãããŸãã ãã®æå㯠<a href="../env.html">ç°å¢å€æ°</a>ã§å¶åŸ¡ã§ããŸãã <code>proxy-sendcl</code> ãèšå®ãããšãå¯èœãªéãåžžã« <code>Content-Length</code> ãä»äžããŠã äžæµãµãŒãã«éä¿¡ããããã«ãªããŸãã éã« <code>proxy-sendchunked</code> ãèšå®ãããšããªãœãŒã¹æ¶è²»ãæãã chnked ãšã³ã³ãŒãã䜿ã£ãŠéä¿¡ããããã«ãªããŸãã</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="BalancerGrowth" id="BalancerGrowth">BalancerGrowth</a> <a name="balancergrowth" id="balancergrowth">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Number of additional Balancers that can be added Post-configuration</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>BalancerGrowth <var>#</var></code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>BalancerGrowth 5</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>BalancerGrowth is only available in Apache HTTP Server 2.3.13 and later.</td></tr> </table><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="BalancerInherit" id="BalancerInherit">BalancerInherit</a> <a name="balancerinherit" id="balancerinherit">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Inherit ProxyPassed Balancers/Workers from the main server</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>BalancerInherit On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>BalancerInherit On</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>BalancerInherit is only available in Apache HTTP Server 2.4.5 and later.</td></tr> </table><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="BalancerMember" id="BalancerMember">BalancerMember</a> <a name="balancermember" id="balancermember">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Add a member to a load balancing group</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><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>Documentation not yet translated. Please see English version of document.</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="BalancerPersist" id="BalancerPersist">BalancerPersist</a> <a name="balancerpersist" id="balancerpersist">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Attempt to persist changes made by the Balancer Manager across restarts.</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>BalancerPersist On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>BalancerPersist 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>BalancerPersist is only available in Apache HTTP Server 2.4.4 and later.</td></tr> </table><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="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"><Proxy></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><Proxy <var>wildcard-url</var>> ...</Proxy></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"><Proxy></code> ã»ã¯ã·ã§ã³äžã® ãã£ã¬ã¯ãã£ãã¯ããããããããã·ãããã³ã³ãã³ãã«ã®ã¿é©çšãããŸãã ã·ã§ã«åœ¢åŒã®ã¯ã€ã«ãã«ãŒãã䜿ããŸãã</p> <p>äŸãã°ã次ã®èšå®ã¯ <code>yournetwork.example.com</code> ã® ãã¹ãã«ã®ã¿ãããã·ãµãŒããçµç±ããã¢ã¯ã»ã¹ãèš±å¯ããŸã:</p> <div class="example"><p><code> <Proxy *><br /> <span class="indent"> Order Deny,Allow<br /> Deny from all<br /> Allow from yournetwork.example.com<br /> </span> </Proxy> </code></p></div> <p>次ã®äŸã¯ <code>example.com</code> ã® <code>foo</code> ãã£ã¬ã¯ããªã® ãã¹ãŠã®ãã¡ã€ã«ã«å¯ŸããŠããããã·ãµãŒããéããŠéããããšãã«ã¯ <code>INCLUDES</code> ãã£ã«ã¿ãéããŠéãããã«èšå®ããŸã:</p> <div class="example"><p><code> <Proxy http://example.com/foo/*><br /> <span class="indent"> SetOutputFilter INCLUDES<br /> </span> </Proxy> </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="ProxyAddHeaders" id="ProxyAddHeaders">ProxyAddHeaders</a> <a name="proxyaddheaders" id="proxyaddheaders">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Add proxy information in X-Forwarded-* headers</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ProxyAddHeaders Off|On</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>ProxyAddHeaders On</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>Available in version 2.3.10 and later</td></tr> </table><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="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"><ProxyMatch></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><ProxyMatch <var>regex</var>> ...</ProxyMatch></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"><ProxyMatch></code> 㯠URL ã®ãããã« <a class="glossarylink" href="../glossary.html#regex" title="çšèªéãåç §">æ£èŠè¡šçŸ</a> ãçšããããšãé€ã㊠<code class="directive"><Proxy></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 /> <Proxy balancer://mycluster><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> </Proxy> </code></p></div> <p><code class="directive"><a href="../mod/core.html#location"><Location></a></code> ã»ã¯ã·ã§ã³ã®äžã§äœ¿ãããå Žåãæåã®åŒæ°ã¯ çç¥ãããããŒã«ã«ãã£ã¬ã¯ããªã¯ <code class="directive"><a href="../mod/core.html#location"><Location></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="ProxyPassInherit" id="ProxyPassInherit">ProxyPassInherit</a> <a name="proxypassinherit" id="proxypassinherit">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Inherit ProxyPass directives defined from the main server</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ProxyPassInherit On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">ããã©ã«ã:</a></th><td><code>ProxyPassInherit On</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>ProxyPassInherit is only available in Apache HTTP Server 2.4.5 and later. </td></tr> </table><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="ProxyPassInterpolateEnv" id="ProxyPassInterpolateEnv">ProxyPassInterpolateEnv</a> <a name="proxypassinterpolateenv" id="proxypassinterpolateenv">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Enable Environment Variable interpolation in Reverse Proxy configurations</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><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>Documentation not yet translated. Please see English version of document.</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="ProxyPassMatch" id="ProxyPassMatch">ProxyPassMatch</a> <a name="proxypassmatch" id="proxypassmatch">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Maps remote servers into the local server URL-space using regular expressions</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><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>Documentation not yet translated. Please see English version of document.</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"><Location></a></code> ã»ã¯ã·ã§ã³ã®äžã§äœ¿ãããå Žåã¯ã æåã®åŒæ°ã¯çç¥ãããããŒã«ã«ãã£ã¬ã¯ããªã¯ <code class="directive"><a href="../mod/core.html#location"><Location></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 ã«ããããã<a class="glossarylink" href="../glossary.html#regex" title="çšèªéãåç §">æ£èŠè¡šçŸ</a>ã§ããããšãé€ãã° <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="ProxySet" id="ProxySet">ProxySet</a> <a name="proxyset" id="proxyset">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Set various Proxy balancer or member parameters</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><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>Documentation not yet translated. Please see English version of document.</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="ProxySourceAddress" id="ProxySourceAddress">ProxySourceAddress</a> <a name="proxysourceaddress" id="proxysourceaddress">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Set local IP address for outgoing proxy connections</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><code>ProxySourceAddress <var>address</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> <tr><th><a href="directive-dict.html#Compatibility">äºææ§:</a></th><td>Available in version 2.3.9 and later</td></tr> </table><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="ProxyStatus" id="ProxyStatus">ProxyStatus</a> <a name="proxystatus" id="proxystatus">ãã£ã¬ã¯ãã£ã</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">説æ:</a></th><td>Show Proxy LoadBalancer status in mod_status</td></tr> <tr><th><a href="directive-dict.html#Syntax">æ§æ:</a></th><td><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>Documentation not yet translated. Please see English version of document.</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="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>翻蚳æžã¿èšèª: </span><a href="../en/mod/mod_proxy.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../fr/mod/mod_proxy.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | <a href="../ja/mod/mod_proxy.html" title="Japanese"> ja </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">ã³ã¡ã³ã</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.4/mod/mod_proxy.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 2015 The Apache Software Foundation.<br />ãã®ææžã¯ <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>ß yôÊáœ~orÀ5ÖJ={þÁEÇêeŸuç£Qk ®á¯G{÷?ù»ã+]üôçÉÍ××ô?wûM3X^¶Úæ>{Ž7ÙŸìŽKã>èo²ÎnÝ\ÿªÊj¿y· ðR£õãg/î=ÞÿfúOçÖr·o×NVÊv¿ú~ÿY+ ü¿NGêu÷ø·Ã®þë¹HWûyëwÆ[eQ¶ÊšŸSÚbÖ>öÍËÇ þ³>ä}Gçmx[o[<ÞÚ{ðýÏ®_ÅïqFÚÛvM IEND®B`