From: Eric Covener
$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