From: Eric Covener <covener@apache.org>
Date: Mon, 26 Aug 2013 01:22:55 +0000 (+0000)
Subject: PR55352: mention in the <Proxy> manual that the matching is a prefix only, not
X-Git-Tag: 2.5.0-alpha~5150
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1fcec4b5c57d357d123ea29bb0fcc1af58481c5a;p=apache

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/trunk@1517406 13f79535-47bb-0310-9956-ffa450edef68
---

diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml
index 08afa84d33..5faed40375 100644
--- a/docs/manual/mod/mod_proxy.xml
+++ b/docs/manual/mod/mod_proxy.xml
@@ -464,6 +464,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>