The ProxySCGIInternalRedirect enables the backend
to internally redirect the gateway to a different URL. This feature
origins 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 the apache internally redirects to.

The ProxySCGISendfile directive enables the
SCGI backend to let files serve directly by the gateway. This is useful
performance purposes -- the httpd can use sendfile or other
optimizations, which are not possible if the file comes over the backend
socket.

The ProxySCGISendfile argument determines the
gateway behaviour:

Off

No special handling takes place.

On

The gateway looks for a backend response header called
X-Sendfile and interprets the value as filename to serve. The
header is removed from the final response headers. This is equivalent to
ProxySCGISendfile X-Sendfile.

anything else

Similar to On, but instead of the hardcoded header name
the argument is applied as header name.

Example

Notice:This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.