View Single Post
Old 12-17-2007, 08:35 PM   #1 (permalink)
TerrorRonin
The Contributor
 
Join Date: Dec 2007
Posts: 31
Thanks: 0
TerrorRonin is on a distinguished road
Smile Help with a mod_rewrite

What do I need to setup within my .htaccess so that *1.domain.com shows the content of domain.com/sites/*1/ without redirecting? Please note, *1 means any possible combination, would redirect to that combinations subdomain..

Some examples:
http://test.domain.com/ = http://domain.com/sites/test/
http://new.domain.com/ = http://domain.com/sites/new/
TerrorRonin is offline  
Reply With Quote