From: Nick Kew
Date: Sat, 6 Oct 2007 10:15:15 +0000 (+0000)
Subject: Document proxy-http environment variables in one place.
X-Git-Tag: 2.3.0~1355
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ebb0a9aed25463d2eb86b9076a9eaf870a16c50d;p=apache
Document proxy-http environment variables in one place.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@582476 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml
index 9c18757368..b789d308b9 100644
--- a/docs/manual/mod/mod_proxy.xml
+++ b/docs/manual/mod/mod_proxy.xml
@@ -186,6 +186,9 @@
critical because clients can only contact the hosts that you
have specifically configured.
+ See Also the Proxy-Chain-Auth environment variable.
+
Slow Startup
diff --git a/docs/manual/mod/mod_proxy_http.xml b/docs/manual/mod/mod_proxy_http.xml
index f3fc518f9e..4cd42f2abf 100644
--- a/docs/manual/mod/mod_proxy_http.xml
+++ b/docs/manual/mod/mod_proxy_http.xml
@@ -52,4 +52,45 @@
mod_proxy
mod_proxy_connect
+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 HTTP protocol
+ provider:
+
+ - proxy-sendextracrlf
+ - Causes proxy to send an extra CR-LF newline on the end of a
+ request. This is a workaround for a bug in some servers.
+ - force-proxy-request-1.0
+ - Forces the proxy to send requests to the backend as HTTP/1.0
+ and disables HTTP/1.1 features.
+ - proxy-nokeepalive
+ - Forces the proxy to close the backend connection after
+ each request.
+ - Proxy-Chain-Auth
+ - If the proxy requires authentication, it will read and
+ consume the proxy authentication credentials sent by the client.
+ With Proxy-Chain-Auth it will also forward
+ the credentials to the next proxy in the chain. This may
+ be necessary if you have a chain of proxies that share
+ authentication information. Security Warning:
+ Do not set this unless you know you need it, as it forwards
+ sensitive information!
+ - proxy-sendcl
+ - HTTP/1.0 required all HTTP requests that include a body
+ (e.g. POST requests) to include a Content-Length
+ header. This environment variable forces the Apache proxy to
+ send this header to the backend server, regardless of what the
+ Client sent to the proxy. It ensures compatibility when
+ proxying for an HTTP/1.0 or unknown backend. However, it
+ may require the entire request to be buffered by the proxy,
+ so it becomes very inefficient for large requests.
+ - proxy-sendchunks or proxy-sendchunked
+ - This is the opposite of proxy-sendcl. It allows
+ request bodies to be sent to the backend using chunked transfer
+ encoding. This allows the request to be efficiently streamed,
+ but requires that the backend server supports HTTP/1.1.
+
+
+