httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r602174 - /httpd/httpd/branches/2.0.x/docs/manual/misc/rewriteguide.xml
Date Fri, 07 Dec 2007 18:29:42 GMT
Author: rbowen
Date: Fri Dec  7 10:29:41 2007
New Revision: 602174

URL: http://svn.apache.org/viewvc?rev=602174&view=rev
Log:
Make the recipe match the problem description.

Modified:
    httpd/httpd/branches/2.0.x/docs/manual/misc/rewriteguide.xml

Modified: httpd/httpd/branches/2.0.x/docs/manual/misc/rewriteguide.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.0.x/docs/manual/misc/rewriteguide.xml?rev=602174&r1=602173&r2=602174&view=diff
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/misc/rewriteguide.xml (original)
+++ httpd/httpd/branches/2.0.x/docs/manual/misc/rewriteguide.xml Fri Dec  7 10:29:41 2007
@@ -143,15 +143,15 @@
         <dd>
 <example><pre>
 # 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]
 </pre></example>
         </dd>
       </dl>



Mime
View raw message