httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1332592 - in /httpd/httpd/trunk/docs/manual/rewrite: intro.html.en intro.xml
Date Tue, 01 May 2012 09:43:52 GMT
Author: humbedooh
Date: Tue May  1 09:43:51 2012
New Revision: 1332592

URL: http://svn.apache.org/viewvc?rev=1332592&view=rev
Log:
Try to clarify what is matched in a rewrite rule as per bug #53080.	


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

Modified: httpd/httpd/trunk/docs/manual/rewrite/intro.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/intro.html.en?rev=1332592&r1=1332591&r2=1332592&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/intro.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/intro.html.en Tue May  1 09:43:51 2012
@@ -168,12 +168,15 @@ of three arguments separated by spaces. 
 <li><var>[flags]</var>: options affecting the rewritten request.</li>
 </ol>
 
-<p>The <var>Pattern</var> is always a <a href="#regex">regular
-expression</a> matched against the URL-Path of the incoming request
-(the part after the hostname but before any question mark indicating
-the beginning of a query string) or, in per-directory context, against 
-the request's path relative to the directory for which the rule is 
-defined.</p>
+<p>The <var>Pattern</var> is a <a href="#regex">regular expression</a>.

+It is initially (for the first rewrite rule or until a substitution occurs) 
+matched against the URL-path of the incoming request (the part after the 
+hostname but before any question mark indicating the beginning of a query 
+string) or, in per-directory context, against the request's path relative 
+to the directory for which the rule is defined. Once a substitution has 
+occured, the rules that follow are matched against the substituted
+value.
+</p>
 
 <p class="figure">
       <img src="../images/syntax_rewriterule.png" alt="Syntax of the RewriteRule directive"
/><br />

Modified: httpd/httpd/trunk/docs/manual/rewrite/intro.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/intro.xml?rev=1332592&r1=1332591&r2=1332592&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/intro.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/intro.xml Tue May  1 09:43:51 2012
@@ -173,12 +173,15 @@ of three arguments separated by spaces. 
 <li><var>[flags]</var>: options affecting the rewritten request.</li>
 </ol>
 
-<p>The <var>Pattern</var> is always a <a href="#regex">regular
-expression</a> matched against the URL-Path of the incoming request
-(the part after the hostname but before any question mark indicating
-the beginning of a query string) or, in per-directory context, against 
-the request's path relative to the directory for which the rule is 
-defined.</p>
+<p>The <var>Pattern</var> is a <a href="#regex">regular expression</a>.

+It is initially (for the first rewrite rule or until a substitution occurs) 
+matched against the URL-path of the incoming request (the part after the 
+hostname but before any question mark indicating the beginning of a query 
+string) or, in per-directory context, against the request's path relative 
+to the directory for which the rule is defined. Once a substitution has 
+occured, the rules that follow are matched against the substituted
+value.
+</p>
 
 <p class="figure">
       <img src="../images/syntax_rewriterule.png"



Mime
View raw message