]> granicus.if.org Git - apache/commitdiff
SetEnv doesn't work for proxy-scgi-pathinfo
authorJeff Trawick <trawick@apache.org>
Thu, 9 Apr 2015 20:38:17 +0000 (20:38 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 9 Apr 2015 20:38:17 +0000 (20:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1672480 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy_scgi.xml

index 8b903a8a5ac0045449a3023e95c93110e4104286..ec6fc0ea3cf0333d6b154b5973f73a048525160b 100644 (file)
@@ -78,8 +78,8 @@ ProxyPass /scgi-bin/ balancer://somecluster/
 
 <section id="env"><title>Environment Variables</title>
     <p>In addition to the configuration directives that control the
-    behaviour of <module>mod_proxy</module>, there are a number of
-    <dfn>environment variables</dfn> that control the SCGI protocol
+    behaviour of <module>mod_proxy</module>, an <dfn>environment
+    variable</dfn> may also control the SCGI protocol
     provider:</p>
     <dl>
         <dt>proxy-scgi-pathinfo</dt>
@@ -88,7 +88,11 @@ ProxyPass /scgi-bin/ balancer://somecluster/
         the backend SCGI server to correctly determine <var>SCRIPT_NAME</var>
         and <var>Script-URI</var> and be compliant with RFC 3875 section 3.3.
         If instead you need <module>mod_proxy_scgi</module> to generate
-        a "best guess" for <var>PATH_INFO</var>, set this env-var.</dd>
+        a "best guess" for <var>PATH_INFO</var>, set this env-var.  The
+        variable must be set before <directive mod="env">SetEnv</directive>
+        is effective.  <directive mod="setenv">SetEnvIf</directive> can be
+        used instead: <code>SetEnvIf Request_URI . proxy-scgi-pathinfo</code>.
+        </dd>
     </dl>
 </section>