httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1641416 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.xml
Date Mon, 24 Nov 2014 16:17:40 GMT
Author: covener
Date: Mon Nov 24 16:17:39 2014
New Revision: 1641416

URL: http://svn.apache.org/r1641416
Log:
Merge r1641414 from trunk:

steal the sethandler example from mod_proxy.html and mention worker issue
 


Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.xml?rev=1641416&r1=1641415&r2=1641416&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_fcgi.xml Mon Nov 24 16:17:39 2014
@@ -120,6 +120,22 @@ ProxyPass /myapp/ balancer://myappcluste
 </Proxy>
     </highlight>
     </example>
+
+    <example><title>Proxy via Handler</title>
+      <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>
+      <highlight language="config">
+&lt;FilesMatch \.php$&gt;
+    SetHandler  "proxy:unix:/path/to/app.sock|fcgi://localhost/"
+&lt;/FilesMatch&gt;
+      </highlight>
+   <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>
+   </example>
 </section>
 
 <section id="env"><title>Environment Variables</title>



Mime
View raw message