From 0dcd21b132251de07f712d3b91a50374c23637dc Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Mon, 26 Jan 2015 16:00:29 +0000 Subject: [PATCH] Merge r1654831 from trunk: comment feedback -- flow is confusing git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1654833 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/rewrite/intro.xml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/manual/rewrite/intro.xml b/docs/manual/rewrite/intro.xml index 3b1ff57d05..798bd00e93 100644 --- a/docs/manual/rewrite/intro.xml +++ b/docs/manual/rewrite/intro.xml @@ -145,8 +145,18 @@ the expression.

CondPattern, back-references are internally created which can be used with the strings $N and %N (see below). These are available for creating - the strings Substitution and TestString as - outlined in the following chapters. Figure 1 shows to which + the Substitution parameter of a + RewriteRule or + the TestString parameter of a + RewriteCond.

+

Captures in the RewriteRule patterns are (counterintuitively) available to + all preceding + RewriteCond directives, + because the RewriteRule + expression is evaluated before the individual conditions.

+ +

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 -- 2.40.0