From: Eric Covener Date: Mon, 24 Nov 2014 18:04:13 +0000 (+0000) Subject: xforms X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c45d5855a3e75402abf2f78dd611ca82378d573b;p=thirdparty%2Fapache%2Fhttpd.git xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1641435 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy_fcgi.html.en b/docs/manual/mod/mod_proxy_fcgi.html.en index ffb18bef137..9d0e650bd33 100644 --- a/docs/manual/mod/mod_proxy_fcgi.html.en +++ b/docs/manual/mod/mod_proxy_fcgi.html.en @@ -117,16 +117,20 @@ </Proxy> -

Proxy via Handler

You can also force a request to be handled as a reverse-proxy +

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: -

<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 worker
+       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.
+      

+

Proxy via Handler

<FilesMatch \.php$>
     SetHandler  "proxy:unix:/path/to/app.sock|fcgi://localhost/"
 </FilesMatch>
-

This feature is available in Apache HTTP Server 2.4.10 and later. For performance - reasons, you will want to define a worker - representing the same fcgi:// backend.

+
top

Environment Variables