Virtual site maps to two different locations

Using a single web hosting account to host multiple sites

Postby richardk » Sat Apr 12, 2008 3:22 pm

It should have been
Code: Select all
# Rewrite all other URLs that exist.
RewriteCond %{ENV:REDIRECT_STATUS} ^$
RewriteCond %{HTTP_HOST} ^(site1|site2)\.simonit\.com$ [NC]
RewriteRule ^(.*)$ /CT/%1/$1 [QSA,L]
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby sromanski » Sat Apr 12, 2008 7:17 pm

Brilliant!

thank you very much for all your help.

I truly appreciate it.

Cheers

Simon
sromanski
 
Posts: 9
Joined: Thu Mar 27, 2008 5:39 pm

Previous

Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 0 guests

cron