summaryrefslogtreecommitdiff
path: root/docs/manual/mod/mod_proxy.xml
diff options
context:
space:
mode:
authorEric Covener <covener@apache.org>2014-01-20 00:31:19 +0000
committerEric Covener <covener@apache.org>2014-01-20 00:31:19 +0000
commit45a5f7da14baa6a33615ca73cf3006bb1003bdfd (patch)
tree6fcb88b41b8873ab20a9e7bac2c2732d60f60840 /docs/manual/mod/mod_proxy.xml
parenteeced08a6d8261ec67ccaee28b1d795842ec5bcb (diff)
downloadhttpd-45a5f7da14baa6a33615ca73cf3006bb1003bdfd.tar.gz
Merge r1517406 from trunk:
PR55352: mention in the <Proxy> manual that the matching is a prefix only, not the same context-root / segment-aware matching done by <Location>. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1559612 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_proxy.xml')
-rw-r--r--docs/manual/mod/mod_proxy.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml
index f043cb328c..dd939941b9 100644
--- a/docs/manual/mod/mod_proxy.xml
+++ b/docs/manual/mod/mod_proxy.xml
@@ -466,6 +466,20 @@ ProxyPass /examples http://backend.example.com/examples timeout=10
&lt;/Proxy&gt;
</highlight>
+ <note><title>Differences from the Location configuration section</title>
+ <p>A backend URL matches the configuration section if it begins with the
+ the <var>wildcard-url</var> string, even if the last path segment in the
+ directive only matches a prefix of the backend URL. For example,
+ &lt;Proxy http://example.com/foo&gt; matches all of
+ http://example.com/foo, http://example.com/foo/bar, and
+ http://example.com/foobar. The matching of the final URL differs
+ from the behavior of the <directive type="section" module="core"
+ >Location</directive> section, which for purposes of this note
+ treats the final path component as if it ended in a slash.</p>
+ <p>For more control over the matching, see <directive type="section"
+ >ProxyMatch</directive>.</p>
+ </note>
+
</usage>
<seealso><directive type="section" module="mod_proxy">ProxyMatch</directive></seealso>
</directivesynopsis>