Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 24037 invoked from network); 7 Dec 2007 19:06:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2007 19:06:25 -0000 Received: (qmail 55179 invoked by uid 500); 7 Dec 2007 19:06:13 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 54985 invoked by uid 500); 7 Dec 2007 19:06:13 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 54964 invoked by uid 99); 7 Dec 2007 19:06:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 11:06:13 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2007 19:06:01 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 09B7F1A9832; Fri, 7 Dec 2007 11:06:04 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r602180 - /httpd/httpd/branches/2.0.x/docs/manual/misc/rewriteguide.html.en Date: Fri, 07 Dec 2007 19:06:03 -0000 To: cvs@httpd.apache.org From: rbowen@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071207190604.09B7F1A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rbowen Date: Fri Dec 7 11:05:58 2007 New Revision: 602180 URL: http://svn.apache.org/viewvc?rev=602180&view=rev Log: Make the recipe match the statement of the problem. Modified: httpd/httpd/branches/2.0.x/docs/manual/misc/rewriteguide.html.en Modified: httpd/httpd/branches/2.0.x/docs/manual/misc/rewriteguide.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/docs/manual/misc/rewriteguide.html.en?rev=602180&r1=602179&r2=602180&view=diff ============================================================================== --- httpd/httpd/branches/2.0.x/docs/manual/misc/rewriteguide.html.en (original) +++ httpd/httpd/branches/2.0.x/docs/manual/misc/rewriteguide.html.en Fri Dec 7 11:05:58 2007 @@ -147,15 +147,15 @@
 # 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 @@ - \ No newline at end of file +