[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [RaQ 4] Domain Directing



At 10:59 AM 19/08/02 -0500, you wrote:
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

I would see this as an opportunity to sell the customer another basic account.
otherwise a rewrite rule in httpd.conf could do this.

- Bill B.




---------------------------------
William J.A. Brillinger
Precision Design Co.

E-Mail:   mailto:billy@xxxxxxxxxx
Web site: http://www.pdcweb.net