From 094226f0cf5213ef49dd368a16d22578ac85d77a Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Sat, 20 Dec 2014 16:07:56 +0000 Subject: xforms git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1647013 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_proxy_fcgi.html.en | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'docs/manual/mod') diff --git a/docs/manual/mod/mod_proxy_fcgi.html.en b/docs/manual/mod/mod_proxy_fcgi.html.en index 7e141cf552..70d27d737c 100644 --- a/docs/manual/mod/mod_proxy_fcgi.html.en +++ b/docs/manual/mod/mod_proxy_fcgi.html.en @@ -83,14 +83,14 @@ 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/ disablereuse=off
+

Single application instance, connection reuse

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

The following example passes the request URI as a filesystem path for the PHP-FPM daemon to run. The request URL is implicitly added to the 2nd parameter. The hostname and port following fcgi:// are where PHP-FPM is listening. Connection pooling is enabled.

-

PHP-FPM

ProxyPassMatch ^/myapp/.*\.php(/.*)?$ fcgi://localhost:9000/var/www/ disablereuse=off
+

PHP-FPM

ProxyPassMatch ^/myapp/.*\.php(/.*)?$ fcgi://localhost:9000/var/www/ enablereuse=on

The following example passes the request URI as a filesystem @@ -130,6 +130,12 @@ # 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> <FilesMatch ...> SetHandler "proxy:fcgi://localhost:9000" @@ -148,8 +154,8 @@ provider:

proxy-fcgi-pathinfo
-
By default mod_proxy_fcgi will neither create - nor export the PATH_INFO environment variable. This allows +
When configured via ProxyPass or ProxyPassMatch, mod_proxy_fcgi will not + set the PATH_INFO environment variable. This allows the backend FCGI server to correctly determine SCRIPT_NAME and Script-URI and be compliant with RFC 3875 section 3.3. If instead you need mod_proxy_fcgi to generate -- cgit v1.2.3