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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx