.htaccess ro run multiple sites
Posted on 2007-04-02
This file works great, but only for 1 domain. I need to add a 2nd running from the folder /v2/
Its fine to show the subfolder in the urls, but I would also like this script to check for the "www." prefix and remove it. How can I configure the htaccess to rewrite the urls properly ?
http :// domain1 .com /site/
http :// domain2 .com /v2/
Here is the code Im starting with:
RewriteRule ^$ /site/ [L,R]