From: Rich Bowen
Date: Tue, 12 Jul 2011 13:09:24 +0000 (+0000)
Subject: Remove mention of Directive, as per bug id 51501
X-Git-Tag: 2.2.20~39
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b1404feb153a71dac03a9ce16e9ad4e58b1665f;p=thirdparty%2Fapache%2Fhttpd.git
Remove mention of Directive, as per bug id 51501
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1145575 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/rewrite/avoid.xml b/docs/manual/rewrite/avoid.xml
index 373caf71a3e..3fe116c438b 100644
--- a/docs/manual/rewrite/avoid.xml
+++ b/docs/manual/rewrite/avoid.xml
@@ -206,34 +206,5 @@ accomplish.
-Environment Variable Testing
-
-mod_rewrite is frequently used to take a particular
-action based on the presence or absense of a particular environment
-variable or request header. This can be done more efficiently using the
-If.
-
-Consider, for example, the common scenario where
-RewriteRule is used to enforce a canonical
-hostname, such as www.example.com
instead of
-example.com
. This can be done using the If direct, as shown here:
-
-
-<If "$req{Host} = 'example.com'">
-RedirectMatch (.*) http://www.example.com$1
-</If>
-
-
-This technique can be used to take actions based on any request
-header, response header, or environment variable, replacing
-mod_rewrite in many common scenarios.
-
-See especially the expression evaluation
-documentation for a overview of what types of expressions you can
-use in <If> sections, and in certain other directives.
-
-
-