diff options
author | Daniel Gruno <humbedooh@apache.org> | 2012-09-01 07:01:04 +0000 |
---|---|---|
committer | Daniel Gruno <humbedooh@apache.org> | 2012-09-01 07:01:04 +0000 |
commit | 0ca1cc467e18c67ce53cd4dcddeab39bf4a3fcfb (patch) | |
tree | 88cab034f046a88a3bb9b9182a1ccf06a9467bd8 /docs/manual/mod/mod_rewrite.xml | |
parent | ad2f1de6ea65349661d1208e9c43695cca95c2e3 (diff) | |
download | httpd-0ca1cc467e18c67ce53cd4dcddeab39bf4a3fcfb.tar.gz |
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.4.x@1379701 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_rewrite.xml')
-rw-r--r-- | docs/manual/mod/mod_rewrite.xml | 4 |
1 files changed, 3 insertions, 1 deletions
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 <code>$N</code> in the substitution string! you specify a <em>Substitution</em> string of <code>/www/file.html</code>, then this will be treated as a URL-path <em>unless</em> a directory named <code>www</code> - 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 <code>.htaccess</code> 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 <directive module="mod_alias">Alias</directive>) to be applied to the |