From: Rich Bowen
Date: Tue, 14 Apr 2015 19:20:48 +0000 (+0000)
Subject: Clarifies (I hope) what RewriteRule patterns are matched against. See
X-Git-Tag: 2.4.13~261
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=990c3a3fd07353bee9a980e6aeeabf19bedf6a23;p=thirdparty%2Fapache%2Fhttpd.git
Clarifies (I hope) what RewriteRule patterns are matched against. See
bz53153 for context.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1673529 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index 99d8a406da7..75f35a43db7 100644
--- a/docs/manual/mod/mod_rewrite.xml
+++ b/docs/manual/mod/mod_rewrite.xml
@@ -1013,10 +1013,11 @@ 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.
+
What is matched?
In VirtualHost context,