From: Rich Bowen Date: Mon, 10 Oct 2011 11:32:53 +0000 (+0000) Subject: Further clarifications of the rewrite process, as per ticket #52000 X-Git-Tag: 2.3.15~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e12e172c021a95414b97558bbddbdb1a8a542d0;p=thirdparty%2Fapache%2Fhttpd.git Further clarifications of the rewrite process, as per ticket #52000 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180879 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en index 422fdbb3d03..6723e9740cf 100644 --- a/docs/manual/mod/mod_rewrite.html.en +++ b/docs/manual/mod/mod_rewrite.html.en @@ -899,7 +899,7 @@ later subsequent patterns are applied to the output of the last matched RewriteRule.

-

What is matched?

+

What is matched?

In VirtualHost context, The Pattern 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").

@@ -1047,10 +1047,10 @@ cannot use $N in the substitution string!

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 completely + in the config file. The URI or file path (see "What is matched?", above) is completely replaced by the Substitution 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 L flag, or other flag which implies immediate termination, such as END or diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index 757a45786a2..c12df7f3519 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -901,7 +901,7 @@ RewriteRule ^/$ /homepage.std.html [L] subsequent patterns are applied to the output of the last matched RewriteRule.

-What is matched? +<a id="what_is_matched" name="what_is_matched">What is matched?</a>

In VirtualHost context, The Pattern 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").

@@ -1055,10 +1055,11 @@ cannot use $N in the substitution string!

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 completely + in the config file. The URI or file path (see "What is matched?", above) is completely replaced by the Substitution 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 L flag, or other flag which implies immediate termination, such as END or