From: Daniel Gruno Date: Fri, 31 Aug 2012 07:02:54 +0000 (+0000) Subject: Note that using rewrites with a file-path substitution in a .htaccess file will look... X-Git-Tag: 2.5.0-alpha~6369 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f41ef3973c0c7d76498958c4343ff2f14a334e0e;p=apache Note that using rewrites with a file-path substitution in a .htaccess file will look for files relative to your document root, not relative to your file system root. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1379321 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index 5701c67a5c..a40f7121f6 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -1046,7 +1046,9 @@ cannot use $N in the substitution string! you specify a Substitution string of /www/file.html, then this will be treated as a URL-path unless a directory named www - exists at the root or your file-system, in which case it will + exists at the root or your file-system (or, in the case of + using rewrites in a .htaccess file, relative to + your document root), in which case it will be treated as a file-system path. If you wish other URL-mapping directives (such as Alias) to be applied to the