Posted by Jason Nugent on August 28, 1998 at 06:03:30:
In Reply to: Reload a page using a different URL posted by Julian Jacobs on August 28, 1998 at 03:28:59:
: What i want to do is:
: If somebody comes to a page using a URL that does not contain the correect domain name.
: I want them to be directed to my domain
: browser goes to www.foo.com/my-site
: I would like the page to reload as
: my domain is software hosted and has the same IP address as www.foo.com
One other thing - a much less elegant way to do it is to place a REFRESH meta tag in the index.html page inside the /my-site directory on the foo.com server which reloads www.my-site.com after 0 seconds. This is just another alternative - I would go with the server method instead.