Author: rbowen
Date: Tue May 27 19:10:56 2008
New Revision: 660785
URL: http://svn.apache.org/viewvc?rev=660785&view=rev
Log:
Minor tweaks to grammar and examples.
Modified:
httpd/httpd/trunk/docs/manual/rewrite/rewrite_flags.html.en
httpd/httpd/trunk/docs/manual/rewrite/rewrite_flags.xml
Modified: httpd/httpd/trunk/docs/manual/rewrite/rewrite_flags.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/rewrite_flags.html.en?rev=660785&r1=660784&r2=660785&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/rewrite_flags.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/rewrite_flags.html.en Tue May 27 19:10:56 2008
@@ -182,14 +182,14 @@
start over.</p>
<p>It is therefore important, if you are using <code class="directive"><a
href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> directives
in one of these
-context that you take explicit steps to avoid rules looping, and not
+contexts, that you take explicit steps to avoid rules looping, and not
count solely on the [L] flag to terminate execution of a series of
rules, as shown below.</p>
<p>The example given here will rewrite any request to
<code>index.php</code>, giving the original request as a query string
-argument to <code>index.php</code>, however, if the request is already
-for <code>index.php</code>, this rule will be skipped.</p>
+argument to <code>index.php</code>, however, the <code class="directive"><a
href="../mod/mod_rewrite.html#rewritecond">RewriteCond</a></code> ensures that
if the request
+is already for <code>index.php</code>, the <code class="directive"><a
href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> will be skipped.</p>
<div class="example"><p><code>
RewriteCond %{REQUEST_URI} !index\.php<br />
@@ -214,7 +214,9 @@
</code></p></div>
<p>You can think of this as a <code>while</code> loop: While this
-pattern still matches, perform this substitution.</p>
+pattern still matches (i.e., while the URI still contains an
+<code>A</code>), perform this substitution (i.e., replace the
+<code>A</code> with a <code>B</code>).</p>
Modified: httpd/httpd/trunk/docs/manual/rewrite/rewrite_flags.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/rewrite_flags.xml?rev=660785&r1=660784&r2=660785&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/rewrite_flags.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/rewrite_flags.xml Tue May 27 19:10:56 2008
@@ -192,14 +192,16 @@
<p>It is therefore important, if you are using <directive
module="mod_rewrite">RewriteRule</directive> directives in one of these
-context that you take explicit steps to avoid rules looping, and not
+contexts, that you take explicit steps to avoid rules looping, and not
count solely on the [L] flag to terminate execution of a series of
rules, as shown below.</p>
<p>The example given here will rewrite any request to
<code>index.php</code>, giving the original request as a query string
-argument to <code>index.php</code>, however, if the request is already
-for <code>index.php</code>, this rule will be skipped.</p>
+argument to <code>index.php</code>, however, the <directive
+module="mod_rewrite">RewriteCond</directive> ensures that if the request
+is already for <code>index.php</code>, the <directive
+module="mod_rewrite">RewriteRule</directive> will be skipped.</p>
<example>
RewriteCond %{REQUEST_URI} !index\.php<br />
@@ -224,7 +226,9 @@
</example>
<p>You can think of this as a <code>while</code> loop: While this
-pattern still matches, perform this substitution.</p>
+pattern still matches (i.e., while the URI still contains an
+<code>A</code>), perform this substitution (i.e., replace the
+<code>A</code> with a <code>B</code>).</p>
</section>
|