From: Mike Rumph Date: Mon, 20 Apr 2015 19:44:57 +0000 (+0000) Subject: Generated doc changes X-Git-Tag: 2.5.0-alpha~3244 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dbfc89032eb9180b1ff15d8e69c3844018a83143;p=apache Generated doc changes git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1674969 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy_scgi.html.en b/docs/manual/mod/mod_proxy_scgi.html.en index 08d6486596..4828bae9d2 100644 --- a/docs/manual/mod/mod_proxy_scgi.html.en +++ b/docs/manual/mod/mod_proxy_scgi.html.en @@ -109,25 +109,33 @@ - + +
Description:Enable or disable internal redirect responses from the backend
Syntax:ProxySCGIInternalRedirect On|Off
Syntax:ProxySCGIInternalRedirect On|Off|Headername
Default:ProxySCGIInternalRedirect On
Context:server config, virtual host, directory
Status:Extension
Module:mod_proxy_scgi
Compatibility:The Headername feature is available in Apache +httpd 2.5.0 and later.

The ProxySCGIInternalRedirect enables the backend to internally redirect the gateway to a different URL. This feature originates in mod_cgi, which internally redirects the response if the response status is OK (200) and - the response contains a Location header and its value starts - with a slash (/). This value is interpreted as a new local - URL that Apache httpd internally redirects to.

+ the response contains a Location (or configured alternate + header) and its value starts with a slash (/). This value is + interpreted as a new local URL that Apache httpd internally redirects to.

mod_proxy_scgi does the same as mod_cgi in this regard, except that you can turn off the - feature.

+ feature or specify the use of a header other than Location.

-

Example

ProxySCGIInternalRedirect Off
+

Example

    ProxySCGIInternalRedirect Off
+
+# Django and some other frameworks will fully qualify "local URLs"
+# set by the application, so an alternate header must be used.
+<Location /django-app/>
+    ProxySCGIInternalRedirect X-Location
+</Location>
diff --git a/docs/manual/mod/quickreference.html.en b/docs/manual/mod/quickreference.html.en index c4a3d77f51..0de6ad841c 100644 --- a/docs/manual/mod/quickreference.html.en +++ b/docs/manual/mod/quickreference.html.en @@ -797,7 +797,7 @@ connections ProxyRemoteMatch regex remote-serversvERemote proxy used to handle requests matched by regular expressions ProxyRequests On|Off Off svEEnables forward (standard) proxy requests -ProxySCGIInternalRedirect On|Off On svdEEnable or disable internal redirect responses from the +ProxySCGIInternalRedirect On|Off|Headername On svdEEnable or disable internal redirect responses from the backend ProxySCGISendfile On|Off|Headername Off svdEEnable evaluation of X-Sendfile pseudo response header