From: Rich Bowen Date: Thu, 11 Jun 2026 12:58:18 +0000 (+0000) Subject: mod_rewrite: Clarify Substitution description X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e99f8cbc2fe100714e3e3857a6e337adb4885b68;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/branches/2.4.x@1935195 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index 4a35efc2ca..3c25635157 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -1220,8 +1220,9 @@ sections and consider both set of statements, rather than only the last one.

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: