View Single Post
Old 20-08-2003, 01:18   #3
Richard M
Inactive
 
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 47
Posts: 6,343
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Most decent hosts have got PHP, just put something like this at the start of the index.php file (not tested) :

Quote:
<?php

$entrydomain = getenv("HTTP_REFERER");

if ($entrydomain = "www.companyonline.com")
{
header("Location: http://www.company.com/site1/");
}

else
{
header("Location: http://www.company.com/site2/");
}

?>
Richard M is offline   Reply With Quote