View Single Post

  #2 (permalink)  
Old 06-27-2003
cahill
 
Posts: n/a
Default Re: HELP. virtualHosts in Apache2 on XP

Keith Bowes <do.not@spam.me> wrote in message news:<TWGKa.5365$yQ6.3109@fe01.atl2.webusenet.com> ...
> cahill wrote:
> > I installed Apache2 on my XP machine and the localhost is working, but
> > I'm not able to get the virtualHost to work.
> >
> > Much appreciated
> > Thanks
> >
> > my settings.
> >
> > Hosts file.
> >
> > Localhost 127.0.0.1
> > Daleeluck.com 127.0.0.1
> >
> > httpd file
> >
> > <VirtualHost *>
> > ServerName www.daleeluck.com
> > ServerAdmin webmaster@daleeluck.com
> > DocumentRoot "C:/Inetpub/wwwroot"
> > Options Indexes FollowSymLinks MultiViews
> > AllowOverride All
> > Order allow,deny
> > Allow from all
> > </Directory>
> > </VirtualHost>

>
> Are you using "NameVirtualHost *"?


yes i'm using "NameVirtualHost *"

with the settings above it would serve the web page from

C:/Inetpub/wwwroot the root directory of www.daleeluck.com
not from
E:\Program Files\Apache Group\Apache2\htdocs the root directory of
local host "winxp"
to get the local host to serve the web page from
E:\Program Files\Apache Group\Apache2\htdocs i would have to comment
out Documentroot c:/inetpub/wwwwroot.