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

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



You could just modify the httpd.conf file (make a
backup first). Where you see the virtual host
kortemeier.net, instead of setting the home directory
to /home/sites/www.kortemeier.net/web/, simply set the
home directory to
/home/sites/www.tremper.com/web/family/.

I believe that's a clean solution. There might be a
better way, however.


--- Anthony Guida <aguida@xxxxxxxx> 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 
> 
> 
> Anthony Guida
> Network Engineer
> WebSolutions Technology
> ICQ # 167298474
> 
> 
> 
> 
> 
> 
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES,
> go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com