From: Rich Bowen
Date: Thu, 11 Jun 2026 12:57:46 +0000 (+0000)
Subject: mod_rewrite: Clarify Substitution description
X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=e98daa7a751f910adc57a85b7892861258f5fd04;p=thirdparty%2Fapache%2Fhttpd.git
mod_rewrite: Clarify Substitution description
The opening sentence of the Substitution section implied that Pattern
always matches when a rule fires, which is incorrect for negated rules.
Reword to be neutral about how the rule was triggered, and add a
cross-reference to "What is matched?" for context.
Resolves bz#70061
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1935194 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index 6f9b071c95..ffcab8e97f 100644
--- a/docs/manual/mod/mod_rewrite.xml
+++ b/docs/manual/mod/mod_rewrite.xml
@@ -1144,8 +1144,9 @@ guide for complete details.
section of the mod_rewrite introduction.
The Substitution of a
- rewrite rule is the string that replaces the original URL-path that
- was matched by Pattern. The Substitution may
+ rewrite rule is the string that replaces the URL-path (see
+ "What is matched?" above)
+ when the rule's conditions are met. The Substitution may
be a: