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 at 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 at mn-linux.org
> For additional commands, e-mail: tclug-list-help at mn-linux.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tclug-list-unsubscribe at mn-linux.org
For additional commands, e-mail: tclug-list-help at mn-linux.org