From d4d4b27fdfd9f348fb62db5a4106e85d289ae034 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Mon, 24 Nov 2014 18:04:47 +0000 Subject: [PATCH] Merge r1641434 from trunk: move text outside of example for readability. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1641436 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_proxy_fcgi.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/manual/mod/mod_proxy_fcgi.xml b/docs/manual/mod/mod_proxy_fcgi.xml index 8fc0d5e9b0..33dcaebb2b 100644 --- a/docs/manual/mod/mod_proxy_fcgi.xml +++ b/docs/manual/mod/mod_proxy_fcgi.xml @@ -121,20 +121,22 @@ ProxyPass /myapp/ balancer://myappcluster/ - Proxy via Handler

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

-- 2.40.0