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:00 UTC
svn commit: r1654831 - /httpd/httpd/trunk/docs/manual/rewrite/intro.xml
Author: covener
Date: Mon Jan 26 15:59:59 2015
New Revision: 1654831
URL: http://svn.apache.org/r1654831
Log:
comment feedback -- flow is confusing
Modified:
httpd/httpd/trunk/docs/manual/rewrite/intro.xml
Modified: httpd/httpd/trunk/docs/manual/rewrite/intro.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/intro.xml?rev=1654831&r1=1654830&r2=1654831&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/intro.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/intro.xml Mon Jan 26 15:59:59 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