diff options
author | Rich Bowen <rbowen@apache.org> | 2011-10-10 00:29:41 +0200 |
---|---|---|
committer | Rich Bowen <rbowen@apache.org> | 2011-10-10 00:29:41 +0200 |
commit | 8ce7c89d5892b2acc70a876d3fd2ad0676c8dbb4 (patch) | |
tree | c696454d11d414fa4a8aa0ba2ccd2bdb781c74be /docs/manual | |
parent | mod_mime_magic: Add signatures for PNG and SWF to the example config. (diff) | |
download | apache2-8ce7c89d5892b2acc70a876d3fd2ad0676c8dbb4.tar.xz apache2-8ce7c89d5892b2acc70a876d3fd2ad0676c8dbb4.zip |
Clarify behavior of multiple rewrite rules in the same scope. refs https://issues.apache.org/bugzilla/show_bug.cgi?id=51968
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180734 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
-rw-r--r-- | docs/manual/mod/mod_rewrite.html.en | 14 | ||||
-rw-r--r-- | docs/manual/mod/mod_rewrite.xml | 14 |
2 files changed, 16 insertions, 12 deletions
diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en index e54c392955..422fdbb3d0 100644 --- a/docs/manual/mod/mod_rewrite.html.en +++ b/docs/manual/mod/mod_rewrite.html.en @@ -936,7 +936,7 @@ and automatically <em>added</em> after any relative (not starting with a slash or protocol name) substitution encounters the end of a rule set. See the <code class="directive"><a href="#rewritebase">RewriteBase</a></code> directive for more information regarding what prefix will be added back to -relative substutions.</li> +relative substitions.</li> <li> If you wish to match against the full URL-path in a per-directory (htaccess) RewriteRule, use the <code>%{REQUEST_URI}</code> variable in @@ -1045,14 +1045,16 @@ cannot use <code>$N</code> in the substitution string! <code>RewriteMap</code> directive and are explained there. These three types of variables are expanded in the order above.</p> - <p>As already mentioned, all rewrite rules are - applied to the <em>Substitution</em> (in the order in which - they are defined - in the config file). The URL is <strong>completely + <p>Rewrite rules are applied to the results of previous rewrite + rules, in the order in which they are defined + in the config file. The URL is <strong>completely replaced</strong> by the <em>Substitution</em> and the rewriting process continues until all rules have been applied, or it is explicitly terminated by a - <code><strong>L</strong></code> flag.</p> + <a href="../rewrite/flags.html#flag_l"><code><strong>L</strong></code> flag</a>, + or other flag which implies immediate termination, such as + <code><strong>END</strong></code> or + <code><strong>F</strong></code>.</p> <div class="note"><h3>Modifying the Query String</h3> <p>By default, the query string is passed through unchanged. You diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index a77091a542..757a45786a 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -940,7 +940,7 @@ and automatically <em>added</em> after any relative (not starting with a slash or protocol name) substitution encounters the end of a rule set. See the <directive module="mod_rewrite">RewriteBase</directive> directive for more information regarding what prefix will be added back to -relative substutions.</li> +relative substitions.</li> <li> If you wish to match against the full URL-path in a per-directory (htaccess) RewriteRule, use the <code>%{REQUEST_URI}</code> variable in @@ -1053,14 +1053,16 @@ cannot use <code>$N</code> in the substitution string! <code>RewriteMap</code> directive and are explained there. These three types of variables are expanded in the order above.</p> - <p>As already mentioned, all rewrite rules are - applied to the <em>Substitution</em> (in the order in which - they are defined - in the config file). The URL is <strong>completely + <p>Rewrite rules are applied to the results of previous rewrite + rules, in the order in which they are defined + in the config file. The URL is <strong>completely replaced</strong> by the <em>Substitution</em> and the rewriting process continues until all rules have been applied, or it is explicitly terminated by a - <code><strong>L</strong></code> flag.</p> + <a href="../rewrite/flags.html#flag_l"><code><strong>L</strong></code> flag</a>, + or other flag which implies immediate termination, such as + <code><strong>END</strong></code> or + <code><strong>F</strong></code>.</p> <note><title>Modifying the Query String</title> <p>By default, the query string is passed through unchanged. You |