[vox-tech] apache question: virtualhost not working

Peter Jay Salzman vox-tech@lists.lugod.org
Sun, 11 Apr 2004 13:13:30 -0700


On Sun 11 Apr 04,  7:55 AM, Rod Roark <rod@sunsetsystems.com> said:
> On Sunday 11 April 2004 07:04 am, Peter Jay Salzman wrote:
> ...
> >    NameVirtualHost 64.142.25.39:80
> > 
> >    <VirtualHost www.liberal.ws:80>
> >       ServerAdmin p@dirac.org
> >       DocumentRoot /home/p/linux
> >       ServerName www.liberal.ws
> >       ErrorLog /var/log/apache/test_error
> >       LogLevel warn
> >       CustomLog /var/log/apache/test_access common
> >    </VirtualHost>
> 
> What works for me looks like this:
> 
>    NameVirtualHost 64.142.25.39
>    <VirtualHost 64.142.25.39:80>
>       etc.
> 
> -- Rod

suppose you have www.livepenguin.com and www.roark.com.  how do you tell
your server about the different document roots?

suppose livepenguin is /www/livepenguin/ and roark is /www/roark/.  how
does what you have above distinguish between the two domains?  don't you
need something like what i have above?

or are you just talking about IP based virtual hosting?

pete

-- 
Make everything as simple as possible, but no simpler.  -- Albert Einstein
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D