From fd6d24e8b41c9ac8082d247a34d3773def6e8cf9 Mon Sep 17 00:00:00 2001
From: Rich Bowen
Date: Wed, 11 Jan 2023 15:41:11 +0000
Subject: [PATCH] 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
---
docs/manual/mod/mod_rewrite.html.en | 7 +++++++
docs/manual/mod/mod_rewrite.xml | 7 +++++++
2 files changed, 14 insertions(+)
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.
+
+
--
2.47.2