httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r895078 - in /httpd/httpd/trunk/docs/manual/rewrite: intro.html.en intro.xml
Date Fri, 01 Jan 2010 21:27:55 GMT
Author: rbowen
Date: Fri Jan  1 21:27:55 2010
New Revision: 895078

URL: http://svn.apache.org/viewvc?rev=895078&view=rev
Log:
Adds helpful diagrams to the rewrite intro document, provided by Joseph
Pecoraro.

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=895078&r1=895077&r2=895078&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/intro.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/intro.html.en Fri Jan  1 21:27:55 2010
@@ -31,9 +31,9 @@
 </div>
 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif"
/> <a href="#introduction">Introduction</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#regex">Regular Expressions</a></li>
-<li><img alt="" src="../images/down.gif" /> <a href="#rewriterule">RewriteRule
basics</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#rewriterule">RewriteRule
Basics</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#flags">Rewrite Flags</a></li>
-<li><img alt="" src="../images/down.gif" /> <a href="#rewritecond">Rewrite
conditions</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#rewritecond">Rewrite
Conditions</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#rewritemap">Rewrite
maps</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#htaccess">.htaccess
files</a></li>
 </ul><h3>See also</h3><ul class="seealso"><li><a href="../mod/mod_rewrite.html">Module
documentation</a></li><li><a href="remapping.html">Redirection and
remapping</a></li><li><a href="access.html">Controlling access</a></li><li><a
href="advanced.html">Advanced techniques and tricks</a></li><li><a
href="avoid.html">When not to use mod_rewrite</a></li></ul></div>
@@ -155,7 +155,7 @@
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"
/></a></div>
 <div class="section">
-<h2><a name="rewriterule" id="rewriterule">RewriteRule basics</a></h2>
+<h2><a name="rewriterule" id="rewriterule">RewriteRule Basics</a></h2>
 <p>A <code class="directive"><a href="../mod/mod_rewrite.html#rewriterule">RewriteRule</a></code>
consists
 of three arguments separated by spaces. The arguments are</p>
 <ol>
@@ -169,6 +169,12 @@
 (the part after the hostname but before any question mark indicating
 the beginning of a query string).</p>
 
+<p class="figure">
+      <img src="../images/syntax_rewriterule.png" alt="Syntax of the RewriteRule directive"
/><br />
+      <dfn>Figure 2:</dfn> Syntax of the RewriteRule directive.
+</p>
+
+
 <p>The <var>Substitution</var> can itself be one of three things:</p>
 
 <dl>
@@ -236,7 +242,7 @@
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"
/></a></div>
 <div class="section">
-<h2><a name="rewritecond" id="rewritecond">Rewrite conditions</a></h2>
+<h2><a name="rewritecond" id="rewritecond">Rewrite Conditions</a></h2>
 <p>One or more <code class="directive"><a href="../mod/mod_rewrite.html#rewritecond">RewriteCond</a></code>
 directives can be used to restrict the types of requests that will be
 subject to the
@@ -246,6 +252,11 @@
 expression</a> that must match the variable, and a third optional
 argument is a list of flags that modify how the match is evaluated.</p>
 
+<p class="figure">
+      <img src="../images/syntax_rewritecond.png" alt="Syntax of the RewriteCond directive"
/><br />
+      <dfn>Figure 3:</dfn> Syntax of the RewriteCond directive
+</p>
+
 <p>For example, to send all requests from a particular IP range to a
 different server, you could use:</p>
 <div class="example"><p><code>

Modified: httpd/httpd/trunk/docs/manual/rewrite/intro.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/intro.xml?rev=895078&r1=895077&r2=895078&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/intro.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/intro.xml Fri Jan  1 21:27:55 2010
@@ -160,7 +160,7 @@
 </section>
 </section>
 
-<section id="rewriterule"><title>RewriteRule basics</title>
+<section id="rewriterule"><title>RewriteRule Basics</title>
 <p>A <directive module="mod_rewrite">RewriteRule</directive> consists
 of three arguments separated by spaces. The arguments are</p>
 <ol>
@@ -174,6 +174,13 @@
 (the part after the hostname but before any question mark indicating
 the beginning of a query string).</p>
 
+<p class="figure">
+      <img src="../images/syntax_rewriterule.png" 
+      alt="Syntax of the RewriteRule directive" /><br />
+      <dfn>Figure 2:</dfn> Syntax of the RewriteRule directive.
+</p>
+
+
 <p>The <var>Substitution</var> can itself be one of three things:</p>
 
 <dl>
@@ -243,7 +250,7 @@
 </section>
 
 
-<section id="rewritecond"><title>Rewrite conditions</title>
+<section id="rewritecond"><title>Rewrite Conditions</title>
 <p>One or more <directive module="mod_rewrite">RewriteCond</directive>
 directives can be used to restrict the types of requests that will be
 subject to the
@@ -253,6 +260,12 @@
 expression</a> that must match the variable, and a third optional
 argument is a list of flags that modify how the match is evaluated.</p>
 
+<p class="figure">
+      <img src="../images/syntax_rewritecond.png" 
+      alt="Syntax of the RewriteCond directive" /><br />
+      <dfn>Figure 3:</dfn> Syntax of the RewriteCond directive
+</p>
+
 <p>For example, to send all requests from a particular IP range to a
 different server, you could use:</p>
 <example>



Mime
View raw message