You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2009/09/16 22:10:15 UTC

svn commit: r815944 - in /httpd/httpd/branches/2.2.x/docs/manual/rewrite: rewrite_guide.html.en rewrite_guide.xml

Author: rbowen
Date: Wed Sep 16 20:10:15 2009
New Revision: 815944

URL: http://svn.apache.org/viewvc?rev=815944&view=rev
Log:
Text refers to example.com, but example refers to
fully.qualified.domain.name

Modified:
    httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewrite_guide.html.en
    httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewrite_guide.xml

Modified: httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewrite_guide.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewrite_guide.html.en?rev=815944&r1=815943&r2=815944&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewrite_guide.html.en (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewrite_guide.html.en Wed Sep 16 20:10:15 2009
@@ -117,17 +117,17 @@
         <dd>
 <p>For sites running on a port other than 80:</p>
 <div class="example"><pre>
-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,NE]
+RewriteRule ^/?(.*)         http://www.example.com:%{SERVER_PORT}/$1 [L,R,NE]
 </pre></div>
 
 <p>And for a site running on port 80</p>
 <div class="example"><pre>
-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,NE]
+RewriteRule ^/?(.*)         http://www.example.com/$1 [L,R,NE]
 </pre></div>
         </dd>
       </dl>

Modified: httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewrite_guide.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewrite_guide.xml?rev=815944&r1=815943&r2=815944&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewrite_guide.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/rewrite/rewrite_guide.xml Wed Sep 16 20:10:15 2009
@@ -106,17 +106,17 @@
         <dd>
 <p>For sites running on a port other than 80:</p>
 <example><pre>
-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,NE]
+RewriteRule ^/?(.*)         http://www.example.com:%{SERVER_PORT}/$1 [L,R,NE]
 </pre></example>
 
 <p>And for a site running on port 80</p>
 <example><pre>
-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,NE]
+RewriteRule ^/?(.*)         http://www.example.com/$1 [L,R,NE]
 </pre></example>
         </dd>
       </dl>