httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1641415 - /httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.html.en
Date Mon, 24 Nov 2014 16:17:21 GMT
Author: covener
Date: Mon Nov 24 16:17:21 2014
New Revision: 1641415

URL: http://svn.apache.org/r1641415
Log:
xforms

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.html.en

Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.html.en?rev=1641415&r1=1641414&r2=1641415&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.html.en Mon Nov 24 16:17:21 2014
@@ -116,6 +116,17 @@
     BalancerMember fcgi://localhost:4001
 &lt;/Proxy&gt;</pre>
 </div>
+
+    <div class="example"><h3>Proxy via Handler</h3><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">&lt;FilesMatch \.php$&gt;
+    SetHandler  "proxy:unix:/path/to/app.sock|fcgi://localhost/"
+&lt;/FilesMatch&gt;</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 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>



Mime
View raw message