From: Jeff Trawick Date: Thu, 9 Apr 2015 20:38:17 +0000 (+0000) Subject: SetEnv doesn't work for proxy-scgi-pathinfo X-Git-Tag: 2.5.0-alpha~3324 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=884cac22c09a324fac8be2a211db6649c43889b2;p=apache SetEnv doesn't work for proxy-scgi-pathinfo git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1672480 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy_scgi.xml b/docs/manual/mod/mod_proxy_scgi.xml index 8b903a8a5a..ec6fc0ea3c 100644 --- a/docs/manual/mod/mod_proxy_scgi.xml +++ b/docs/manual/mod/mod_proxy_scgi.xml @@ -78,8 +78,8 @@ ProxyPass /scgi-bin/ balancer://somecluster/
Environment Variables

In addition to the configuration directives that control the - behaviour of mod_proxy, there are a number of - environment variables that control the SCGI protocol + behaviour of mod_proxy, an environment + variable may also control the SCGI protocol provider:

proxy-scgi-pathinfo
@@ -88,7 +88,11 @@ ProxyPass /scgi-bin/ balancer://somecluster/ the backend SCGI server to correctly determine SCRIPT_NAME and Script-URI and be compliant with RFC 3875 section 3.3. If instead you need mod_proxy_scgi to generate - a "best guess" for PATH_INFO, set this env-var. + a "best guess" for PATH_INFO, set this env-var. The + variable must be set before SetEnv + is effective. SetEnvIf can be + used instead: SetEnvIf Request_URI . proxy-scgi-pathinfo. +