From: Eric Covener Date: Mon, 26 Jan 2015 15:59:59 +0000 (+0000) Subject: comment feedback -- flow is confusing X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d554f49fbbdbae05c64d940765127fff3f4d8783;p=thirdparty%2Fapache%2Fhttpd.git comment feedback -- flow is confusing git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1654831 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/intro.xml b/docs/manual/rewrite/intro.xml index 3b1ff57d052..798bd00e93d 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