I have a customer who has requested a domain redirect on a virtual site that
is hosted with us.
The virtual site is www.tremper.com and its home directory is
/home/sites/www.tremper.com/web
Within the ' web ' directory there is another directory named ' family '
She has pointed a domain www.kortemeier.net to the same IP as
www.tremper.com and wants the
server to be able to distinguish which domain is heading its way.
e.g.
- If a user types in http://www.tremper.com the server serves the page
/home/sites/www.tremper.com/web/index.html
- If a user types in http://www.kortemeier.net the server serves the page
/home/sites/www.tremper.com/web/family/index.html
I am not too sure on how to do this, but we have tried a cgi script and it
works only if you type in the full path - www.kortmeier.net/index.cgi
We found this cgi file here -
http://www.freecode.com/viewsource/domaindirector/readme.txt/
Any info on this would be greatly appreciated.
Thanks,
Anthony