From: Christophe Jaillet Date: Fri, 27 May 2016 20:39:13 +0000 (+0000) Subject: xforms X-Git-Tag: 2.5.0-alpha~1563 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5d695498b0cd293904862c281817c579ce6426c;p=thirdparty%2Fapache%2Fhttpd.git xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1745813 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 6031a5f434d..2b476df034b 100644 --- a/docs/manual/mod/mod_proxy_fcgi.html.en +++ b/docs/manual/mod/mod_proxy_fcgi.html.en @@ -86,7 +86,7 @@ from httpd, you can opt-in to connection reuse as shown in the following example:

-

Single application instance, connection reuse

ProxyPass "/myapp/" "fcgi://localhost:4000/" enablereuse=on
+

Single application instance, connection reuse (2.4.11 and later)

ProxyPass "/myapp/" "fcgi://localhost:4000/" enablereuse=on

The following example passes the request URI as a filesystem @@ -100,8 +100,8 @@ path for the PHP-FPM daemon to run. In this case, PHP-FPM is listening on a unix domain socket (UDS). Requires 2.4.9 or later. With this syntax, the hostname and optional port following fcgi:// are ignored.

-

PHP-FPM with UDS

      # UDS does not currently support connection reuse
-      ProxyPassMatch "^/(.*\.php(/.*)?)$" "unix:/var/run/php5-fpm.sock|fcgi://localhost/var/www/"
+

PHP-FPM with UDS

# UDS does not currently support connection reuse
+ProxyPassMatch "^/(.*\.php(/.*)?)$" "unix:/var/run/php5-fpm.sock|fcgi://localhost/var/www/"

The balanced gateway needs mod_proxy_balancer and @@ -111,9 +111,9 @@ default, and will be used for this example configuration.

Balanced gateway to multiple application instances

ProxyPass "/myapp/" "balancer://myappcluster/"
-<Proxy balancer://myappcluster/>
-    BalancerMember fcgi://localhost:4000
-    BalancerMember fcgi://localhost:4001
+<Proxy "balancer://myappcluster/">
+    BalancerMember "fcgi://localhost:4000"
+    BalancerMember "fcgi://localhost:4001"
 </Proxy>
@@ -133,12 +133,13 @@ # Note: The only part that varies is /path/to/app.sock SetHandler "proxy:unix:/path/to/app.sock|fcgi://localhost/" </FilesMatch> - # Define a matching worker. - # The part that is matched to the SetHandler is the part that - # follows the pipe. If you need to distinguish, "localhost; can - # be anything unique. - <Proxy fcgi://localhost/ enablereuse=on max=10> - </Proxy> + +# Define a matching worker. +# The part that is matched to the SetHandler is the part that +# follows the pipe. If you need to distinguish, "localhost; can +# be anything unique. +<Proxy fcgi://localhost/ enablereuse=on max=10> +</Proxy> <FilesMatch ...> SetHandler "proxy:fcgi://localhost:9000" @@ -165,7 +166,7 @@ a "best guess" for PATH_INFO, set this env-var. This is a workaround for a bug in some FCGI implementations. This variable can be set to multiple values to tweak at how the best guess - is chosen: + is chosen (In 2.4.11 and later only):
first-dot
PATH_INFO is split from the slash following the