You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/09/01 09:01:05 UTC
svn commit: r1379701 -
/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml
Author: humbedooh
Date: Sat Sep 1 07:01:04 2012
New Revision: 1379701
URL: http://svn.apache.org/viewvc?rev=1379701&view=rev
Log:
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.
Modified:
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml?rev=1379701&r1=1379700&r2=1379701&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.xml Sat Sep 1 07:01:04 2012
@@ -1046,7 +1046,9 @@ cannot use <code>$N</code> in the substi
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