From: Eric Covener Date: Mon, 24 Nov 2014 18:05:09 +0000 (+0000) Subject: xforms X-Git-Tag: 2.4.11~154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3f2b888532ebb9e4ce64c91670739914cc3197c;p=thirdparty%2Fapache%2Fhttpd.git xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1641437 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 d86090dff06..9f4c65135ae 100644 --- a/docs/manual/mod/mod_proxy_fcgi.html.en +++ b/docs/manual/mod/mod_proxy_fcgi.html.en @@ -118,16 +118,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