]> granicus.if.org Git - apache/commitdiff
generated doc changes
authorJeff Trawick <trawick@apache.org>
Thu, 15 Apr 2010 16:45:34 +0000 (16:45 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 15 Apr 2010 16:45:34 +0000 (16:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@934484 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/howto/htaccess.xml.ja
docs/manual/howto/htaccess.xml.ko
docs/manual/howto/htaccess.xml.pt-br
docs/manual/mod/mod_proxy_fcgi.html.en
docs/manual/mod/mod_proxy_scgi.html.en

index d02c5e2296e492d74ffc0615c80b07a1d3f7836a..d3a048676e85dfa22584169c09f1d00082229535 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 574882:684332 (outdated) -->
+<!-- English Revision: 574882:933606 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index bc218e0b90d73d6858ef77136d3b19206453a840..dcf07e8ad82f067ab59f63d6f6cde3415de3d7fa 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='EUC-KR' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 151408:684332 (outdated) -->
+<!-- English Revision: 151408:933606 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 3f1ce9f5ab5713b234d6f514b8c6fe1648b845e1..a9058cd1b9d05ac9137f3b2943b4285b73d6d7e1 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.pt-br.xsl"?>
-<!-- English Revision: 151408:684332 (outdated) -->
+<!-- English Revision: 151408:933606 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 044d0e99feadf09561c6fa0b56e92be70a7b8acd..aac7928f50adc9d218a23a3d3871e555a7099ab6 100644 (file)
 <h3>Summary</h3>
 
     <p>This module <em>requires</em> the service of <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code>. It provides support for the 
-    <a href="http://www.fastcgi.com/">FastCGI</a>.</p>
+    <a href="http://www.fastcgi.com/">FastCGI</a> protocol.</p>
 
-    <p>Thus, in order to get the ability of handling <code>FastCGI</code>
+    <p>Thus, in order to get the ability of handling the <code>FastCGI</code>
     protocol, <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> and
     <code class="module"><a href="../mod/mod_proxy_fcgi.html">mod_proxy_fcgi</a></code> have to be present in the server.</p>
 
+    <p>Unlike <a href="http://httpd.apache.org/mod_fcgid/">mod_fcgid</a>
+    and <a href="http://www.fastcgi.com/">mod_fastcgi</a>, 
+    <code class="module"><a href="../mod/mod_proxy_fcgi.html">mod_proxy_fcgi</a></code> has no provision for starting the
+    application process; <code class="program"><a href="../programs/fcgistarter.html">fcgistarter</a></code> is provided for
+    that purpose.</p>
+
     <div class="warning"><h3>Warning</h3>
       <p>Do not enable proxying until you have <a href="mod_proxy.html#access">secured your server</a>. Open proxy
       servers are dangerous both to your network and to the Internet at
 <div id="quickview"><h3 class="directives">Directives</h3>
 <p>This module provides no
             directives.</p>
-<h3>See also</h3>
+<h3>Topics</h3>
+<ul id="topics">
+<li><img alt="" src="../images/down.gif" /> <a href="#examples">Examples</a></li>
+</ul><h3>See also</h3>
 <ul class="seealso">
 <li><code class="program"><a href="../programs/fcgistarter.html">fcgistarter</a></code></li>
 <li><code class="module"><a href="../mod/mod_proxy.html">mod_proxy</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="examples" id="examples">Examples</a></h2>
+    <p>Remember, in order to make the following examples work, you have to
+    enable <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> and <code class="module"><a href="../mod/mod_proxy_fcgi.html">mod_proxy_fcgi</a></code>.</p>
+
+    <div class="example"><h3>Single application instance</h3><p><code>
+      ProxyPass /myapp/ fcgi://localhost:4000/
+    </code></p></div>
+
+    <p>This application should be able to handle multiple concurrent
+    connections.  <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code> enables connection reuse by 
+    default, so after a request has been completed the connection will be
+    held open by that httpd child process and won't be reused until that
+    httpd process routes another request to the application.  If the 
+    FastCGI application is unable to handle enough concurrent connections
+    from httpd, requests can block waiting for the application to close
+    an existing connection.  One way to resolve this is to disable connection
+    reuse on the <code class="directive">ProxyPass</code> directive, as shown in
+    the following example:</p>
 
+    <div class="example"><h3>Single application instance, no connection reuse</h3><p><code>
+      ProxyPass /myapp/ fcgi://localhost:4000/ disablereuse=on
+    </code></p></div>
+
+    <p>The balanced gateway needs <code class="module"><a href="../mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code> and
+    at least one load balancer algorithm module, such as 
+    <code class="module"><a href="../mod/mod_lbmethod_byrequests.html">mod_lbmethod_byrequests</a></code>, in addition to the proxy
+    modules listed above.  <code class="module"><a href="../mod/mod_lbmethod_byrequests.html">mod_lbmethod_byrequests</a></code> is the
+    default, and will be used for this example configuration.</p>
+
+    <div class="example"><h3>Balanced gateway to multiple application instances</h3><p><code>
+    ProxyPass /myapp/ balancer://myappcluster/<br />
+    &lt;Proxy balancer://myappcluster/&gt;<br />
+    <span class="indent">
+        BalancerMember fcgi://localhost:4000/<br />
+        BalancerMember fcgi://localhost:4001/<br />
+    </span>
+    &lt;/Proxy&gt;
+    </code></p></div>
+</div>
 </div>
 <div class="bottomlang">
 <p><span>Available Languages: </span><a href="../en/mod/mod_proxy_fcgi.html" title="English">&nbsp;en&nbsp;</a></p>
index 2b67f5a26013a02874bb76541b8f7689afaac681..1f5a8a9ebcb6218d78d741d20e2681862acb7a71 100644 (file)
       ProxyPass /scgi-bin/ scgi://localhost:4000/
     </code></p></div>
 
-    <p>The balanced gateway needs <code class="module"><a href="../mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code> in
-    addition to the already mentioned proxy modules.</p>
+    <p>The balanced gateway needs <code class="module"><a href="../mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code> and
+    at least one load balancer algorithm module, such as 
+    <code class="module"><a href="../mod/mod_lbmethod_byrequests.html">mod_lbmethod_byrequests</a></code>, in addition to the proxy
+    modules listed above.  <code class="module"><a href="../mod/mod_lbmethod_byrequests.html">mod_lbmethod_byrequests</a></code> is the
+    default, and will be used for this example configuration.</p>
 
     <div class="example"><h3>Balanced gateway</h3><p><code>
     ProxyPass /scgi-bin/ balancer://somecluster/<br />