httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reese <howel...@inkworkswell.com>
Subject Re: [users@httpd] Rewrite Voodoo pt. 2
Date Tue, 26 Jan 2010 23:12:23 GMT
On 26-Jan-10 17:55, Reese wrote:

> How about this?
> 
> RewriteEngine On
> RewriteCond %{HOST_HTTP} (www\.)?domain.ext/string1/
> RewriteRule ^/(string1)/(.*)$ $2\.domain\.ext/$3 [R=301,L]


I'm having 2nd thoughts on that. How about this one?

RewriteEngine On
RewriteCond %{HOST_HTTP} (www\.)?domain.ext
RewriteRule ^/(string1)/(.*)$ $2\.domain\.ext/$3 [R=301,L]

Reese


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message