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

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





-----Original Message-----
From: William J.A. Brillinger [mailto:billy@xxxxxxxxxx]
Sent: Monday, August 19, 2002 11:10 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: 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.

[MOVED TO THE BOTTOM TO PREVENT FLAMES]

At 11:24 AM 19/08/02 -0500, you wrote:
Bill -
We tried but she keeps on insisting that this works fine with
other providers and they do not charge her for another domain.

Regarding the rewrite rule, which one are referring to?

Thanks,
Anthony

Is www.kortmeier.net currently an alias for www.tremper.com?
(There are others on this list who could answer this much better I'm sure)

I envision something like this...

RewriteRule www.kortmeier.net/(.*)  /home/sites/www.tremper.com/web/family/$1

- Bill B.



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

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