From: Rich Bowen
Date: Fri, 1 May 2026 13:15:47 +0000 (+0000)
Subject: Bug 64900: Document that path/regex is required for ProxyPass, ProxyPassMatch, ProxyP...
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c21f8da5b821e134d47c148c8e364bdc7c887ae;p=thirdparty%2Fapache%2Fhttpd.git
Bug 64900: Document that path/regex is required for ProxyPass, ProxyPassMatch, ProxyPassReverse outside Location
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933645 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml
index 8ff5db7597..c6884701a9 100644
--- a/docs/manual/mod/mod_proxy.xml
+++ b/docs/manual/mod/mod_proxy.xml
@@ -953,7 +953,10 @@ expressions
When used inside a Location section, the first argument is omitted and the local
directory is obtained from the Location. The same will occur inside a
+ >Location. When used outside a Location or LocationMatch section, the
+ path argument is required. The same will occur inside a
LocationMatch section;
however, ProxyPass does not interpret the regexp as such, so it is necessary
to use ProxyPassMatch in this situation instead.
@@ -1620,7 +1623,10 @@ ProxyPassMatch "^/(.*\.gif)$" "http://backend.example.com/$1"
When used inside a LocationMatch section, the first argument is omitted and the
regexp is obtained from the LocationMatch.
+ >LocationMatch. When used outside a Location or LocationMatch section, the
+ regex argument is required.
If you require a more flexible reverse-proxy configuration, see the
RewriteRule directive with the
@@ -1741,7 +1747,10 @@ ProxyPassReverseCookiePath "/" "/mirror/foo/"
When used inside a Location section, the first argument is omitted and the local
directory is obtained from the Location. The same occurs inside a Location. When used outside a Location or LocationMatch section, the
+ path argument is required. The same occurs inside a LocationMatch section, but will probably not work as
intended, as ProxyPassReverse will interpret the regexp literally as a
path; if needed in this situation, specify the ProxyPassReverse outside