]> granicus.if.org Git - apache/blobdiff - docs/manual/mod/mod_proxy_scgi.xml
Add in proxy-scgi-pathinfo and proxy-fcgi-pathinfo envvars
[apache] / docs / manual / mod / mod_proxy_scgi.xml
index 184df0f0cca1a35c8e7e4e4ac0e30316b81a0e69..1010f336a63c594a01d3e1ec7ee029a930c6dde5 100644 (file)
     </example>
 </section>
 
+<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
+    provider:</p>
+    <dl>
+        <dt>proxy-scgi-pathinfo</dt>
+        <dd>By default <module>mod_proxy_scgi</module> will neither create
+        nor export the <var>PATH_INFO</var> environment variable. This allows
+        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>
+    </dl>
+</section>
+
 <directivesynopsis>
 <name>ProxySCGISendfile</name>
 <description>Enable evaluation of <var>X-Sendfile</var> pseudo response