From 5bebac2e5da6bcd1fa56338f10ae4e7340212fbe Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Fri, 7 Dec 2007 19:05:58 +0000 Subject: [PATCH] Make the recipe match the statement of the problem. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@602180 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/misc/rewriteguide.html.en | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/manual/misc/rewriteguide.html.en b/docs/manual/misc/rewriteguide.html.en index 8845cca5e07..751cbab81fc 100644 --- a/docs/manual/misc/rewriteguide.html.en +++ b/docs/manual/misc/rewriteguide.html.en @@ -147,15 +147,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]
 
@@ -2107,4 +2107,4 @@ while (<>) { - \ No newline at end of file + -- 2.47.2