From 1920572bdd6259de0bf02f84eddde73c5b0b580f Mon Sep 17 00:00:00 2001 From: Richard Bowen Date: Tue, 14 Apr 2015 19:19:01 +0000 Subject: [PATCH] Clarifies (I hope) what RewriteRule patterns are matched against. See bz53153 for context. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673528 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_rewrite.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index 80190a27815..5a6461f6e3d 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -1015,10 +1015,10 @@ RewriteRule ^/$ /homepage.std.html [L]

Pattern is a perl compatible regular expression. On the first RewriteRule, it is matched against - the (%-decoded) URL-path (or - file-path, depending - on the context) of the request. Subsequent patterns are matched against the - output of the last matching RewriteRule.

+ the (%-decoded) URL-path + of the request, or, in per-directory context (see below), the URL + path relative to that per-directory context. Subsequent patterns + are matched against the output of the last matching RewriteRule.

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

In VirtualHost context, -- 2.47.3