From 9e12e172c021a95414b97558bbddbdb1a8a542d0 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Mon, 10 Oct 2011 11:32:53 +0000 Subject: [PATCH] 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 --- docs/manual/mod/mod_rewrite.html.en | 6 +++--- docs/manual/mod/mod_rewrite.xml | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/manual/mod/mod_rewrite.html.en b/docs/manual/mod/mod_rewrite.html.en index 422fdbb3d0..6723e9740c 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 757a45786a..c12df7f351 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 -- 2.40.0