summaryrefslogtreecommitdiffstats
path: root/docs/manual/rewrite/intro.xml
diff options
context:
space:
mode:
authorDaniel Gruno <humbedooh@apache.org>2012-05-01 11:43:51 +0200
committerDaniel Gruno <humbedooh@apache.org>2012-05-01 11:43:51 +0200
commite33f1a0cb69cb46027923a351b6c3301cba72c96 (patch)
tree82bc91e515bf641dfbed93064654d3e380dea459 /docs/manual/rewrite/intro.xml
parentFix whitespace issues and anchor patterns when needed in flags.xml (diff)
downloadapache2-e33f1a0cb69cb46027923a351b6c3301cba72c96.tar.xz
apache2-e33f1a0cb69cb46027923a351b6c3301cba72c96.zip
Try to clarify what is matched in a rewrite rule as per bug #53080.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1332592 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--docs/manual/rewrite/intro.xml15
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/manual/rewrite/intro.xml b/docs/manual/rewrite/intro.xml
index 88a64d2e7d..ea0d4db321 100644
--- a/docs/manual/rewrite/intro.xml
+++ b/docs/manual/rewrite/intro.xml
@@ -173,12 +173,15 @@ of three arguments separated by spaces. The arguments are</p>
<li><var>[flags]</var>: options affecting the rewritten request.</li>
</ol>
-<p>The <var>Pattern</var> is always a <a href="#regex">regular
-expression</a> matched against the URL-Path of the incoming request
-(the part after the hostname but before any question mark indicating
-the beginning of a query string) or, in per-directory context, against
-the request's path relative to the directory for which the rule is
-defined.</p>
+<p>The <var>Pattern</var> is a <a href="#regex">regular expression</a>.
+It is initially (for the first rewrite rule or until a substitution occurs)
+matched against the URL-path of the incoming request (the part after the
+hostname but before any question mark indicating the beginning of a query
+string) or, in per-directory context, against the request's path relative
+to the directory for which the rule is defined. Once a substitution has
+occured, the rules that follow are matched against the substituted
+value.
+</p>
<p class="figure">
<img src="../images/syntax_rewriterule.png"