Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: CVS

svn commit: r832237 - in /httpd/httpd/trunk/docs/manual/rewrite: remapping.html.en remapping.xml

 

 

Apache cvs RSS feed   Index | Next | Previous | View Threaded


rbowen at apache

Nov 2, 2009, 5:01 PM

Post #1 of 1 (106 views)
Permalink
svn commit: r832237 - in /httpd/httpd/trunk/docs/manual/rewrite: remapping.html.en remapping.xml

Author: rbowen
Date: Tue Nov 3 01:01:11 2009
New Revision: 832237

URL: http://svn.apache.org/viewvc?rev=832237&view=rev
Log:
Clarify that this technique works in per-directory scope.

Modified:
httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
httpd/httpd/trunk/docs/manual/rewrite/remapping.xml

Modified: httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en?rev=832237&r1=832236&r2=832237&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en Tue Nov 3 01:01:11 2009
@@ -196,6 +196,11 @@
directives are evaluated. This allows us to test for the existence
of the the original (<code>document.html</code>) and target
(<code>document.php</code>) files using the same base filename.</p>
+ <p>This ruleset is designed to use in a per-directory context (In a
+ &lt;Directory&gt; block or in a .htaccess file), so that the
+ <code>-f</code> checks are looking at the correct directory path.
+ You may need to set a <code class="directive"><a href="../mod/mod_rewite.html#rewritebase">RewriteBase</a></code> directive to specify the
+ directory base that you're working in.</p>
</dd>
</dl>


Modified: httpd/httpd/trunk/docs/manual/rewrite/remapping.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/remapping.xml?rev=832237&r1=832236&r2=832237&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/remapping.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/remapping.xml Tue Nov 3 01:01:11 2009
@@ -195,6 +195,12 @@
directives are evaluated. This allows us to test for the existence
of the the original (<code>document.html</code>) and target
(<code>document.php</code>) files using the same base filename.</p>
+ <p>This ruleset is designed to use in a per-directory context (In a
+ &lt;Directory&gt; block or in a .htaccess file), so that the
+ <code>-f</code> checks are looking at the correct directory path.
+ You may need to set a <directive
+ module="mod_rewite">RewriteBase</directive> directive to specify the
+ directory base that you're working in.</p>
</dd>
</dl>

Apache cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.