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:07 UTC
svn commit: r1654832 - /httpd/httpd/trunk/docs/manual/rewrite/intro.html.en
Author: covener
Date: Mon Jan 26 16:00:06 2015
New Revision: 1654832
URL: http://svn.apache.org/r1654832
Log:
xform
Modified:
httpd/httpd/trunk/docs/manual/rewrite/intro.html.en
Modified: httpd/httpd/trunk/docs/manual/rewrite/intro.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/intro.html.en?rev=1654832&r1=1654831&r2=1654832&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/intro.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/intro.html.en Mon Jan 26 16:00:06 2015
@@ -141,8 +141,17 @@ 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
+ <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> or
+ the <em>TestString</em> parameter of a
+ <code class="directive"><a href="../mod/mod_rewrite.html#rewritecond">RewriteCond</a></code>.</p>
+ <p> Captures in the <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> patterns are (counterintuitively) available to
+ all preceding
+ <code class="directive"><a href="../mod/mod_rewrite.html#rewritecond">RewriteCond</a></code> directives,
+ because the <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code>
+ 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