svn commit: r1935194 - httpd/httpd/trunk/docs/manual/mod

[email protected] Thu, 11 Jun 2026 12:57:46 -0000
Newsgroups gmane.comp.apache.cvs
Message-ID <178118266672.771726.15783210785792319072@svn03-he-fi>
Author: rbowen
Date: Thu Jun 11 12:57:46 2026
New Revision: 1935194

Log:
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

Modified:
   httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml	Thu Jun 11 11:38:41 2026	(r1935193)
+++ httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml	Thu Jun 11 12:57:46 2026	(r1935194)
@@ -1144,8 +1144,9 @@ guide for complete details.
       section of the mod_rewrite introduction.</p>
 
       <p>The <a id="rhs" name="rhs"><em>Substitution</em></a> of a
-      rewrite rule is the string that replaces the original URL-path that
-      was matched by <em>Pattern</em>.  The <em>Substitution</em> may
+      rewrite rule is the string that replaces the URL-path (see
+      <a href="#what_is_matched">"What is matched?"</a> above)
+      when the rule's conditions are met.  The <em>Substitution</em> may
       be a:</p>
 
       <dl>