From: Rich Bowen
Date: Thu, 24 Mar 2011 10:11:02 +0000 (+0000)
Subject: Remove mention of 2.4-specific directives.
X-Git-Tag: 2.2.18~78
X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fc8d91a6247299edeaa5e49c585068e7f8a93ad1;p=thirdparty%2Fapache%2Fhttpd.git
Remove mention of 2.4-specific directives.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1084888 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/rewrite/remapping.html.en b/docs/manual/rewrite/remapping.html.en
index b81eee73c4b..7fe26b417e1 100644
--- a/docs/manual/rewrite/remapping.html.en
+++ b/docs/manual/rewrite/remapping.html.en
@@ -294,29 +294,6 @@ hostname(s).
</VirtualHost>
-You can alternatively accomplish this using the
-<If>
-directive:
-
-
-<If "%{HTTP_HOST} != 'www.example.com'">
-
-Redirect / http://www.example.com/
-
-</If>
-
-
-Or, for example, to redirect a portion of your site to HTTPS, you
-might do the following:
-
-
-<If "%{SERVER_PROTOCOL} != 'HTTPS'">
-
-Redirect /admin/ https://www.example.com/admin/
-
-</If>
-
-
If, for whatever reason, you still want to use mod_rewrite
- if, for example, you need this to work with a larger set of RewriteRules -
you might use one of the recipes below.
diff --git a/docs/manual/rewrite/remapping.xml b/docs/manual/rewrite/remapping.xml
index b974a6bcaa6..e52f906057c 100644
--- a/docs/manual/rewrite/remapping.xml
+++ b/docs/manual/rewrite/remapping.xml
@@ -296,29 +296,6 @@ hostname(s).
</VirtualHost>
-You can alternatively accomplish this using the
-If
-directive:
-
-
-<If "%{HTTP_HOST} != 'www.example.com'">
-
-Redirect / http://www.example.com/
-
-</If>
-
-
-Or, for example, to redirect a portion of your site to HTTPS, you
-might do the following:
-
-
-<If "%{SERVER_PROTOCOL} != 'HTTPS'">
-
-Redirect /admin/ https://www.example.com/admin/
-
-</If>
-
-
If, for whatever reason, you still want to use mod_rewrite
- if, for example, you need this to work with a larger set of RewriteRules -
you might use one of the recipes below.