From 990c3a3fd07353bee9a980e6aeeabf19bedf6a23 Mon Sep 17 00:00:00 2001
From: Rich Bowen
Date: Tue, 14 Apr 2015 19:20:48 +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/branches/2.4.x@1673529 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_rewrite.xml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml
index 99d8a406da..75f35a43db 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,
--
2.40.0