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 @@
Introduction
Regular Expressions
RewriteRule basics
RewriteRule Basics
Rewrite Flags
Rewrite conditions
Rewrite Conditions
Rewrite maps
.htaccess filesA RewriteRule consists
of three arguments separated by spaces. The arguments are
+ 
+ Figure 2: Syntax of the RewriteRule directive.
+
The Substitution can itself be one of three things:
One or more RewriteCond
directives can be used to restrict the types of requests that will be
subject to the
@@ -246,6 +252,11 @@
expression that must match the variable, and a third optional
argument is a list of flags that modify how the match is evaluated.
+ 
+ Figure 3: Syntax of the RewriteCond directive
+
For example, to send all requests from a particular IP range to a different server, you could use:
A
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 @@
-
@@ -174,6 +174,13 @@
(the part after the hostname but before any question mark indicating
the beginning of a query string).
+ 
+ Figure 2: Syntax of the RewriteRule directive.
+
The Substitution can itself be one of three things:
One or more
+ 
+ Figure 3: Syntax of the RewriteCond directive
+
For example, to send all requests from a particular IP range to a different server, you could use: