You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2015/01/26 17:00:29 UTC

svn commit: r1654833 - /httpd/httpd/branches/2.4.x/docs/manual/rewrite/intro.xml

Author: covener
Date: Mon Jan 26 16:00:29 2015
New Revision: 1654833

URL: http://svn.apache.org/r1654833
Log:
Merge r1654831 from trunk:

comment feedback -- flow is confusing



Modified:
    httpd/httpd/branches/2.4.x/docs/manual/rewrite/intro.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/rewrite/intro.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/rewrite/intro.xml?rev=1654833&r1=1654832&r2=1654833&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/rewrite/intro.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/rewrite/intro.xml Mon Jan 26 16:00:29 2015
@@ -145,8 +145,18 @@ the expression.</p>
       <em>CondPattern</em>, back-references are internally created
       which can be used with the strings <code>$N</code> and
       <code>%N</code> (see below). These are available for creating
-      the strings <em>Substitution</em> and <em>TestString</em> as 
-      outlined in the following chapters. Figure 1 shows to which 
+      the <em>Substitution</em> parameter of a 
+      <directive module="mod_rewrite">RewriteRule</directive> or
+      the <em>TestString</em> parameter of a 
+      <directive module="mod_rewrite">RewriteCond</directive>.</p>
+      <p>  Captures in the <directive module="mod_rewrite"
+      >RewriteRule</directive> patterns are (counterintuitively) available to 
+       all preceding 
+      <directive module="mod_rewrite">RewriteCond</directive> directives,
+      because the <directive module="mod_rewrite">RewriteRule</directive>
+      expression is evaluated before the individual conditions.</p>
+
+      <p>Figure 1 shows to which 
       locations the back-references are transferred for expansion as 
       well as illustrating the flow of the RewriteRule, RewriteCond 
       matching. In the next chapters, we will be exploring how to use