From 03e2a7c00a11f8d4ec7cdee72ba483310155dca1 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Fri, 7 Dec 2007 18:29:41 +0000 Subject: [PATCH] Make the recipe match the problem description. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@602174 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/misc/rewriteguide.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/manual/misc/rewriteguide.xml b/docs/manual/misc/rewriteguide.xml index c8e0e395d29..697feb270a0 100644 --- a/docs/manual/misc/rewriteguide.xml +++ b/docs/manual/misc/rewriteguide.xml @@ -143,15 +143,15 @@ RewriteRule ^/([uge])/([^/]+)$ /$1/$2/ [<
 # For sites running on a port other than 80
-RewriteCond %{HTTP_HOST}   !^fully\.qualified\.domain\.name [NC]
+RewriteCond %{HTTP_HOST}   !^www\.example\.com [NC]
 RewriteCond %{HTTP_HOST}   !^$
 RewriteCond %{SERVER_PORT} !^80$
-RewriteRule ^/(.*)         http://fully.qualified.domain.name:%{SERVER_PORT}/$1 [L,R]
+RewriteRule ^/(.*)         http://www.example.com:%{SERVER_PORT}/$1 [L,R]
 
 # And for a site running on port 80
-RewriteCond %{HTTP_HOST}   !^fully\.qualified\.domain\.name [NC]
+RewriteCond %{HTTP_HOST}   !^www\.example\.com [NC]
 RewriteCond %{HTTP_HOST}   !^$
-RewriteRule ^/(.*)         http://fully.qualified.domain.name/$1 [L,R]
+RewriteRule ^/(.*)         http://www.example.com/$1 [L,R]
 
-- 2.47.2