]> granicus.if.org Git - apache/commitdiff
Further clarifications of the rewrite process, as per ticket #52000
authorRich Bowen <rbowen@apache.org>
Mon, 10 Oct 2011 11:32:53 +0000 (11:32 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 10 Oct 2011 11:32:53 +0000 (11:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180879 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_rewrite.html.en
docs/manual/mod/mod_rewrite.xml

index 422fdbb3d03e6f47da4f1eb20f889dc5299efed4..6723e9740cfc2fa9b53accd1b792719b0df1aa00 100644 (file)
@@ -899,7 +899,7 @@ later</td></tr>
       subsequent patterns are applied to the output of the last matched
       RewriteRule.</p>
 
-<div class="note"><h3>What is matched?</h3>
+<div class="note"><h3><a id="what_is_matched" name="what_is_matched">What is matched?</a></h3>
       <p>In <code class="directive"><a href="../mod/core.html#virtualhost">VirtualHost</a></code> context,
       The <em>Pattern</em> will initially be matched against the part of the
       URL after the hostname and port, and before the query string (e.g. "/app1/index.html").</p>
@@ -1047,10 +1047,10 @@ cannot use <code>$N</code> in the substitution string!
 
       <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
+      in the config file. The URI or file path (see <a href="#what_is_matched">"What is matched?"</a>, above) 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
+      or it is explicitly terminated by an
       <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
index 757a45786a232a8e3aa56db59ea6462867b9112b..c12df7f3519b067bf218a365f87b1770e442ae80 100644 (file)
@@ -901,7 +901,7 @@ RewriteRule  ^/$                 /homepage.std.html  [L]
       subsequent patterns are applied to the output of the last matched
       RewriteRule.</p>
 
-<note><title>What is matched?</title>
+<note><title><a id="what_is_matched" name="what_is_matched">What is matched?</a></title>
       <p>In <directive module="core">VirtualHost</directive> context,
       The <em>Pattern</em> will initially be matched against the part of the
       URL after the hostname and port, and before the query string (e.g. "/app1/index.html").</p>
@@ -1055,10 +1055,11 @@ cannot use <code>$N</code> in the substitution string!
 
       <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
+      in the config file. The URI or file path (see <a
+      href="#what_is_matched">"What is matched?"</a>, above) 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
+      or it is explicitly terminated by an
       <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