]> granicus.if.org Git - apache/commitdiff
Make the example match the descriptive paragraph.
authorRich Bowen <rbowen@apache.org>
Wed, 28 May 2008 02:15:48 +0000 (02:15 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 28 May 2008 02:15:48 +0000 (02:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@660787 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/rewrite_guide.html.en
docs/manual/rewrite/rewrite_guide.xml

index 36f94ec8e9337df521ae8065422669ec11c9d56c..d8297649f8c7735101598ccb6b32b4f378fd4fc9 100644 (file)
@@ -117,17 +117,17 @@ RewriteRule   ^/([uge])/(<strong>[^/]+</strong>)$  /$1/$2<strong>/</strong>   [<
         <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]
+RewriteRule ^/(.*)         http://www.example.com:%{SERVER_PORT}/$1 [L,R]
 </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]
+RewriteRule ^/(.*)         http://www.exampe.com/$1 [L,R]
 </pre></div>
         </dd>
       </dl>
index 751315bd2a4fb3ac30478c5d8a013ec88c0f999c..6f4e971772b4548ce1274290f4a90077aff6f095 100644 (file)
@@ -106,17 +106,17 @@ RewriteRule   ^/([uge])/(<strong>[^/]+</strong>)$  /$1/$2<strong>/</strong>   [<
         <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]
+RewriteRule ^/(.*)         http://www.example.com:%{SERVER_PORT}/$1 [L,R]
 </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]
+RewriteRule ^/(.*)         http://www.exampe.com/$1 [L,R]
 </pre></example>
         </dd>
       </dl>