httpd-cvs mailing list archives

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

URL: http://svn.apache.org/r1641414
Log:
steal the sethandler example from mod_proxy.html and mention worker issue
 

Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.xml?rev=1641414&r1=1641413&r2=1641414&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_proxy_fcgi.xml Mon Nov 24 16:17:09 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