httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r577254 - in /httpd/httpd/trunk/docs/manual/mod: mod_rewrite.html.en mod_rewrite.xml
Date Wed, 19 Sep 2007 11:39:52 GMT
Author: covener
Date: Wed Sep 19 04:39:51 2007
New Revision: 577254

URL: http://svn.apache.org/viewvc?rev=577254&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/trunk/docs/manual/mod/mod_rewrite.html.en
    httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en?rev=577254&r1=577253&r2=577254&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_rewrite.html.en Wed Sep 19 04:39:51 2007
@@ -1513,6 +1513,17 @@
         </dd>
       </dl>
 
+<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>Per-directory Rewrites</h3>
  
 <p>The rewrite engine may be used in <a href="../howto/htaccess.html">.htaccess</a>
files.  To enable the

Modified: httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml?rev=577254&r1=577253&r2=577254&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_rewrite.xml Wed Sep 19 04:39:51 2007
@@ -1532,6 +1532,17 @@
         </dd>
       </dl>
 
+<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>Per-directory Rewrites</title>
  
 <p>The rewrite engine may be used in <a



Mime
View raw message