Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: CVS

svn commit: r832310 - in /httpd/httpd/trunk/docs/manual/rewrite: remapping.html.en remapping.xml

 

 

Apache cvs RSS feed   Index | Next | Previous | View Threaded


rbowen at apache

Nov 2, 2009, 10:09 PM

Post #1 of 1 (106 views)
Permalink
svn commit: r832310 - in /httpd/httpd/trunk/docs/manual/rewrite: remapping.html.en remapping.xml

Author: rbowen
Date: Tue Nov 3 06:09:35 2009
New Revision: 832310

URL: http://svn.apache.org/viewvc?rev=832310&view=rev
Log:
The hostname requires a http:// on the front of it, since we're
redirecting to it. This recipe has apparently been wrong for years.

Modified:
httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
httpd/httpd/trunk/docs/manual/rewrite/remapping.xml

Modified: httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en?rev=832310&r1=832309&r2=832310&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en Tue Nov 3 06:09:35 2009
@@ -326,7 +326,7 @@
RewriteEngine on
RewriteMap multiplex txt:/path/to/map.mirrors
RewriteCond %{REMOTE_HOST} ([a-z]+)$ [NC]
-RewriteRule ^(.*)$ ${multiplex:<strong>%1</strong>|www.example.com}$1 [R,L]
+RewriteRule ^(.*)$ ${multiplex:<strong>%1</strong>|http://www.example.com/}$1 [R,L]
</pre></div>

<div class="example"><pre>

Modified: httpd/httpd/trunk/docs/manual/rewrite/remapping.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/remapping.xml?rev=832310&r1=832309&r2=832310&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/remapping.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/remapping.xml Tue Nov 3 06:09:35 2009
@@ -327,7 +327,7 @@
RewriteEngine on
RewriteMap multiplex txt:/path/to/map.mirrors
RewriteCond %{REMOTE_HOST} ([a-z]+)$ [NC]
-RewriteRule ^(.*)$ ${multiplex:<strong>%1</strong>|www.example.com}$1 [R,L]
+RewriteRule ^(.*)$ ${multiplex:<strong>%1</strong>|http://www.example.com/}$1 [R,L]
</pre></example>

<example><pre>

Apache cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.