You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by Eric Covener <co...@gmail.com> on 2013/08/26 03:26:30 UTC
Fwd: svn commit: r1517406 - /httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml
Would like a 2nd set of eyes before backport
---------- Forwarded message ----------
From: <co...@apache.org>
Date: Sun, Aug 25, 2013 at 9:22 PM
Subject: svn commit: r1517406 - /httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml
To: cvs@httpd.apache.org
Author: covener
Date: Mon Aug 26 01:22:55 2013
New Revision: 1517406
URL: http://svn.apache.org/r1517406
Log:
PR55352: mention in the <Proxy> manual that the matching is a prefix only, not
the same context-root / segment-aware matching done by <Location>.
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml?rev=1517406&r1=1517405&r2=1517406&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_proxy.xml Mon Aug 26 01:22:55 2013
@@ -464,6 +464,20 @@ ProxyPass /examples http://backend.examp
</Proxy>
</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,
+ <Proxy http://example.com/foo> 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>
--
Eric Covener
covener@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org