From: Eric Covener Date: Thu, 26 Jul 2018 00:51:31 +0000 (+0000) Subject: expand on ProxyPassReverse args X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=816f1344fd559b20a457dff863959fd14b3102d2;p=apache expand on ProxyPassReverse args split up the two arguments into their own paragraphs try to reinforce that the 2nd arg has to match the response hedaer, and what the first one is used for. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1836683 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml index 53efc1c479..9ed55f6edf 100644 --- a/docs/manual/mod/mod_proxy.xml +++ b/docs/manual/mod/mod_proxy.xml @@ -1559,9 +1559,25 @@ proxied server match the proxy, you must load and enable mod_proxy_html.

-

path is the name of a local virtual path; url is a - partial URL for the remote server. These parameters are used the same way as - for the ProxyPass directive.

+

path is the name of a local virtual path. It is combined + with the requests scheme, host, and port to form the replacement + prefix of the affected response header. + This parameter is usually the same as the first parameter of the + ProxyPass directive. +

+ +

url is a partial URL for the remote server. When the remote + server sends the specifically mentioned headers beginning with this partial + URL, the prefix from the remote server is replaced with a prefix that + points to the reverse proxy. + This parameter is usually the same as the second parameter of the + ProxyPass directive, but it may + differ if the remote server uses a different scheme, host, port, or path + in the affected headers. In configurations with + ProxyPreserveHost, the hostname + in the partial URL may already be the hostname of the reverse proxy, which + will prevent the matching and replacement done by this directive. +

For example, suppose the local server has address http://example.com/; then