Commit 0697723d authored by Eric Covener's avatar Eric Covener
Browse files

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
parent 129a412b
Loading
Loading
Loading
Loading
+19 −3
Changes for docs/manual/mod/mod_proxy.xml: 19 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -1559,9 +1559,25 @@ proxied server</description>
    match the proxy, you must load and enable <module>mod_proxy_html</module>.
    </p>

    <p><var>path</var> is the name of a local virtual path; <var>url</var> is a
    partial URL for the remote server. These parameters are used the same way as
    for the <directive module="mod_proxy">ProxyPass</directive> directive.</p>
    <p><var>path</var> 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 
    <directive module="mod_proxy">ProxyPass</directive> directive.
    </p>

    <p><var>url</var> 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 
    <directive module="mod_proxy">ProxyPass</directive> directive, but it may
    differ if the remote server uses a different scheme, host, port, or path
    in the affected headers.  In configurations with 
    <directive module="mod_proxy">ProxyPreserveHost</directive>, 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.
    </p>

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