From bba75485211071c6ffff7829946ba01ef50fc57d Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Sat, 1 Sep 2012 07:01:22 +0000 Subject: [PATCH] backport r1379321: 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/branches/2.2.x@1379702 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_rewrite.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index ee1e3f63436..dd7325e89a8 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -1220,7 +1220,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 -- 2.47.2