View Single Post
  #4  
Old 21st July 2006, 19:34
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,035
Thanks: 267
Thanked 153 Times in 133 Posts
Default

This "kind of" does the job exept that it's showing the new URL!


ReWriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} test-a.website.com$ [NC]
RewriteRule ^(.*)$ http://website.com/test-a/index.html [R]

RewriteCond %{HTTP_HOST} test-b.website.com$ [NC]
RewriteRule ^(.*)$ http://website.com/test-b/index.html [R]
Reply With Quote