From: Rich Bowen
Date: Wed, 11 Jan 2023 15:41:11 +0000 (+0000)
Subject: as per https://lists.apache.org/thread/g36po3tp24xl92s182plxlgv8rnl1hj8
X-Git-Tag: 2.4.56-candidate~51
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd6d24e8b41c9ac8082d247a34d3773def6e8cf9;p=thirdparty%2Fapache%2Fhttpd.git
as per https://lists.apache.org/thread/g36po3tp24xl92s182plxlgv8rnl1hj8
clarify that chained RewriteCond directives are "fast fail".
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1906607 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en
index 5be0d676f7b..dbe34e99ca6 100644
--- a/docs/manual/mod/mod_rewrite.html.en
+++ b/docs/manual/mod/mod_rewrite.html.en
@@ -757,6 +757,13 @@ RewriteRule "^/$" "/homepage.std.html" [L]
the homepage is served. Otherwise, the standard page is served.
+ By default, multiple RewriteCond
s
+ are evaluated in sequence with an implied logical AND.
+ If a condition fails, in the absence of an
+ OR
flag, the entire ruleset is abandoned,
+ and further conditions are not evaluated.
+
+
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index 7da7edf23cd..dbc37fd79a3 100644
--- a/docs/manual/mod/mod_rewrite.xml
+++ b/docs/manual/mod/mod_rewrite.xml
@@ -1052,6 +1052,13 @@ RewriteRule "^/$" "/homepage.std.html" [L]
the homepage is served. Otherwise, the standard page is served.
+ By default, multiple RewriteConds
+ are evaluated in sequence with an implied logical AND.
+ If a condition fails, in the absence of an
+ OR
flag, the entire ruleset is abandoned,
+ and further conditions are not evaluated.
+
+