TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:20911] Virtual Host and Forbidden
- To: tclug-list@mn-linux.org
- Subject: Re: [TCLUG:20911] Virtual Host and Forbidden
- From: Adam Maloney <adamm@sihope.com>
- Date: Thu, 31 Aug 2000 18:23:18 -0500 (CDT)
- In-Reply-To: <E13Udcx-0002Qy-00@pchan>
No, he's got the virtualhosting configuration right. Apache accepts it
like that. The virtualhost is the IP addres, and then it determines the
"virtual server" based on what the web-browser is passing as the
servername (www.whatever.com).
Adam Maloney
Systems Administrator
Sihope Communications
On Thu, 31 Aug 2000, Dave Sherohman wrote:
> isla0005@tc.umn.edu said:
> > NameVirtualHost 24.111.111.111.11
> >
> > <VirtualHost 24.111.111.111.11>
> > ServerName work.apu.homeip.net
> > DocumentRoot /usr/users/work/www
> > </VirtualHost>
> >
> > <virtualHost 24.111.111.11>
> > ServerName leffew.apu.homeip.net
> > DocumentRoot /usr/users/leffew/www
> > </VirtualHost>
>
> Are you sure that you should be reusing the IP address in all of your
> VirtualHost directives? My httpd.conf says:
>
> ---
> NameVirtualHost 208.42.114.129
>
> # First, a dummy default entry to catch requests from older browsers and route
> # them to the correct domain...
> <VirtualHost 208.42.114.129>
> DocumentRoot /var/www
> </VirtualHost>
>
> <VirtualHost www.sherohman.org>
> ServerName www.sherohman.org
> ServerAlias www sherohman.org *.sherohman.org
> DocumentRoot /var/www/sherohman.org
> ServerPath /sherohman.org
> </VirtualHost>
>
> <VirtualHost www.runehof.org>
> ServerName www.runehof.org
> ServerAlias runehof.org *.runehof.org
> DocumentRoot /var/www/runehof.org
> ServerPath /runehof.org
> </VirtualHost>
> ---
>
> --
> "Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
> "So does syphillis. Good thing we have penicillin." - Matthew Alton
> Geek Code 3.1: GCS d- s+: a- C++ UL++$ P+>+++ L+++>++++ E- W--(++) N+ o+
> !K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI++++ D G e* h+ r++ y+
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tclug-list-unsubscribe@mn-linux.org
> For additional commands, e-mail: tclug-list-help@mn-linux.org
>
>