httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r577305 - in /httpd/httpd/branches/2.0.x/docs/manual/mod: mod_rewrite.html.en mod_rewrite.xml
Date Wed, 19 Sep 2007 13:50:36 GMT
Author: covener
Date: Wed Sep 19 06:50:35 2007
New Revision: 577305

URL: http://svn.apache.org/viewvc?rev=577305&view=rev
Log:
document the mod_userdir-like tilde expansion sometimes performed by mod_rewrite

A tilde can sneak into a rule via a backreference and cause some surprising behavior


Modified:
    httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.html.en
    httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.xml

Modified: httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.html.en?rev=577305&r1=577304&r2=577305&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.html.en (original)
+++ httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.html.en Wed Sep 19 06:50:35 2007
@@ -1489,6 +1489,17 @@
 
       </ul>
 
+<div class="note"><h3>Home directory expansion</h3>
+<p> When the substitution string begins with a string
+resembling "/~user" (via explicit text or backreferences), mod_rewrite performs
+home directory expansion independent of the presence or configuration
+of <code class="module"><a href="../mod/mod_userdir.html">mod_userdir</a></code>.</p>
+
+<p> This expansion does not occur when the <em>PT</em>
+flag is used on the <code class="directive"><a href="#rewriterule">RewriteRule</a></code>
+directive.</p>
+</div>
+
 <div class="note"><h3>Note: Enabling rewrites in per-directory context</h3>
  To enable the rewriting engine
           for per-directory configuration files, you need to set

Modified: httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.xml?rev=577305&r1=577304&r2=577305&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.xml (original)
+++ httpd/httpd/branches/2.0.x/docs/manual/mod/mod_rewrite.xml Wed Sep 19 06:50:35 2007
@@ -1512,6 +1512,17 @@
 
       </ul>
 
+<note><title>Home directory expansion</title>
+<p> When the substitution string begins with a string
+resembling "/~user" (via explicit text or backreferences), mod_rewrite performs
+home directory expansion independent of the presence or configuration
+of <module>mod_userdir</module>.</p>
+
+<p> This expansion does not occur when the <em>PT</em>
+flag is used on the <directive module="mod_rewrite">RewriteRule</directive>
+directive.</p>
+</note>
+
 <note><title>Note: Enabling rewrites in per-directory context</title>
  To enable the rewriting engine
           for per-directory configuration files, you need to set



Mime
View raw message