]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Clarifies (I hope) what RewriteRule patterns are matched against. See
authorRichard Bowen <rbowen@apache.org>
Tue, 14 Apr 2015 19:19:01 +0000 (19:19 +0000)
committerRichard Bowen <rbowen@apache.org>
Tue, 14 Apr 2015 19:19:01 +0000 (19:19 +0000)
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

index 80190a2781555f40f6069a0d706ffee6ac7d337f..5a6461f6e3d4e62b31a52eb5aba611a40ab9bafc 100644 (file)
@@ -1015,10 +1015,10 @@ RewriteRule  ^/$                 /homepage.std.html  [L]
       <p><a id="patterns" name="patterns"><em>Pattern</em></a> is
       a perl compatible <a id="regexp" name="regexp">regular
       expression</a>. On the first RewriteRule, it is matched against
-      the (%-decoded) <a href="directive-dict.html#Syntax">URL-path</a> (or 
-      <a href="directive-dict.html#Syntax">file-path</a>, depending 
-      on the context) of the request. Subsequent patterns are matched against the 
-      output of the last matching RewriteRule.</p>
+      the (%-decoded) <a href="directive-dict.html#Syntax">URL-path</a>
+      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.</p>
 
 <note><title><a id="what_is_matched" name="what_is_matched">What is matched?</a></title>
       <p>In <directive module="core">VirtualHost</directive> context,