You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2014/11/24 19:05:10 UTC
svn commit: r1641437 -
/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.html.en
Author: covener
Date: Mon Nov 24 18:05:09 2014
New Revision: 1641437
URL: http://svn.apache.org/r1641437
Log:
xforms
Modified:
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.html.en
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.html.en?rev=1641437&r1=1641436&r2=1641437&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.html.en (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.html.en Mon Nov 24 18:05:09 2014
@@ -118,16 +118,20 @@
</Proxy></pre>
</div>
- <div class="example"><h3>Proxy via Handler</h3><p>You can also force a request to be handled as a reverse-proxy
+ <p>You can also force a request to be handled as a reverse-proxy
request, by creating a suitable Handler pass-through. The example
configuration below will pass all requests for PHP scripts to the
- specified FastCGI server using reverse proxy:
- </p><pre class="prettyprint lang-config"><FilesMatch \.php$>
+ specified FastCGI server using reverse proxy.
+ This feature is available in Apache HTTP Server 2.4.10 and later. For performance
+ 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.
+ </p>
+ <div class="example"><h3>Proxy via Handler</h3><pre class="prettyprint lang-config"><FilesMatch \.php$>
SetHandler "proxy:unix:/path/to/app.sock|fcgi://localhost/"
</FilesMatch></pre>
-<p>This feature is available in Apache HTTP Server 2.4.10 and later. For performance
- reasons, you will want to define a <a href="../mod_proxy.html#worker">worker</a>
- representing the same fcgi:// backend.</p></div>
+</div>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="env" id="env">Environment Variables</a></h2>