9
ok - I figured this one out
I edited mainfile.php to do the following
$requestedURL = strtolower($_SERVER['HTTP_HOST']);
if (substr_count($requestedURL,'cavsworld') == 0)
define('XOOPS_URL', 'http://www.ohiosportsworld.com');
else
define('XOOPS_URL', 'http://www.cavsworld.com');
now
http://www.cavsworld.com (or anything similar) takes you to a site where all links are relative to
http://www.cavsworld.comwhile
http://www.ohiosportsworld.com or anything similar takes you to a site were all links are relative to
http://www.ohiosportsworld.comI suspect it would be possible to have each URL point to it's own XOOPs database if I wanted them to behave differently as I originally planned, but instead all I want to do right now is transition from the old site name to the new site name without breaking people's links.
The multiple database ides is something I'll keep in mind for the future - it's clearly possible to host multiple domains on one machine, one copy of XOOPs (for easy maintenance), and a single IP address and have each domain appear to be totally independent to the outside world.