mod_rewrite htaccess
a friend at work has a problem with .htaccess and i cant seem to work it out, figured i'd pass the buck over to you guys. see if you can solve it.
1 server, 5 websites pointing towards 1 account.
the account has mod_rewrite to change urls like this: website.com/cricket/index.html into website.com/index.php?id=cricket
now thats all fairly simple, easy mod_rewrite rules.
however problem comes when with 1 htaccess file he has to do the following:
websiteone.com/swimming/index.html websitetwo.com/swim/index.html websitethree.com/backetball/index.html websitefour.com/cricket/index.html
so in the actual htaccess file there has to be seperate mod_rewrites per HTTP HOST.
i've tried adding the actual domain into the Rewrite Rule, but it isnt accepted.
suggestions?