From: Rich Bowen
Date: Thu, 30 Apr 2026 14:46:38 +0000 (+0000)
Subject: mod_proxy: clarify ProxyPass ordering in Location blocks (bz#60479)
X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=87d8961e8bef4bb7106bceecea5c123d911ff5eb;p=thirdparty%2Fapache%2Fhttpd.git
mod_proxy: clarify ProxyPass ordering in Location blocks (bz#60479)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933602 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_proxy.xml b/docs/manual/mod/mod_proxy.xml
index 979fc0035e..8ff5db7597 100644
--- a/docs/manual/mod/mod_proxy.xml
+++ b/docs/manual/mod/mod_proxy.xml
@@ -1039,8 +1039,15 @@ ProxyPass "/mirror/foo/i" "!"
Ordering ProxyPass Directives in Locations
Only one ProxyPass directive
can be placed in a Location block,
- and the most specific location will take precedence.
+ and the last matching
+ Location block takes precedence,
+ following the standard
+ section merging rules.
+ Place more-specific Location
+ blocks after less-specific ones to ensure the intended
+ ProxyPass applies.
+
Exclusions and the no-proxy environment variable
Exclusions must come before the
general ProxyPass directives. In 2.4.26 and later, the "no-proxy"