From 8b1ba1f7f85edd8bf15a5a618495befa89e61b87 Mon Sep 17 00:00:00 2001
From: Rich Bowen
Date: Tue, 25 Oct 2011 00:29:15 +0000
Subject: [PATCH] Makes the 'canonical hostname' example a tiny bit more
useful, in that it now works for any number of hostnames, rather than just
one.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1188464 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/rewrite/avoid.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/manual/rewrite/avoid.xml b/docs/manual/rewrite/avoid.xml
index c16f598f74..71c284590e 100644
--- a/docs/manual/rewrite/avoid.xml
+++ b/docs/manual/rewrite/avoid.xml
@@ -220,7 +220,7 @@ hostname, such as www.example.com
instead of
module="core" type="section">If directive, as shown here:
-<If "$req{Host} = 'example.com'">
+<If "$req{Host} != 'www.example.com'">
RedirectMatch (.*) http://www.example.com$1
</If>
--
2.40.0