]> granicus.if.org Git - apache/commitdiff
xforms
authorEric Covener <covener@apache.org>
Fri, 19 Dec 2014 23:42:12 +0000 (23:42 +0000)
committerEric Covener <covener@apache.org>
Fri, 19 Dec 2014 23:42:12 +0000 (23:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1646902 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy_fcgi.html.en

index 16f265d3c10d626e164bf7cf91aade594726a56d..fd394e4de8bfb978b750ec4d7271d890ef1728b1 100644 (file)
        reasons, you will want to define a <a href="../mod_proxy.html#worker">worker</a>
        representing the same fcgi:// backend. The benefit of this form is that it 
        allows the normal mapping of URI to filename to occur in the server, and the 
-       local filesystem result is passed to the backend.
+       local filesystem result is passed to the backend.  When FastCGI is 
+       configured this way, the server can calculate the most accurate
+       PATH_INFO.
       </p>
     <div class="example"><h3>Proxy via Handler</h3><pre class="prettyprint lang-config">&lt;FilesMatch \.php$&gt;
+    # Note: The only part that varies is /path/to/app.sock
     SetHandler  "proxy:unix:/path/to/app.sock|fcgi://localhost/"
+&lt;/FilesMatch&gt;
+
+&lt;FilesMatch ...&gt;
+    SetHandler  "proxy:fcgi://localhost:9000"
+&lt;/FilesMatch&gt;
+
+&lt;FilesMatch ...&gt;
+    SetHandler  "proxy:balancer://myappcluster/"
 &lt;/FilesMatch&gt;</pre>
 </div>
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>