httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S. Wong" <sw...@webprincess-designs.com>
Subject Re: mod_vhost_alias and NameVirtualHost question
Date Wed, 01 May 2002 05:09:26 GMT
Thanks Joshua! :-)

Joshua Slive wrote:

> S. Wong wrote:
>
> > NameVirtualHost 192.168.1.111:80
> >
> > <VirtualHost 192.168.1.111:80>
> >   ServerName   foo.com
> >   DocumentRoot         /usr/www/nvhosts/foo.com
> >   [host specific configurations]
> > </VirtualHost>
> >
> > <VirtualHost _default_:*>
> >   VirtualDocumentRoot   /usr/www/vhosts/%0
> >   VirtualScriptAlias    /usr/www/vhosts/%0/cgi-bin/
> > </VirtualHost>
>
> There is no "_default_" virtual host when you are using name virtual
> hosts.  Instead, the first listed host becomes the default.  So to get
> the configuration you want, you should switch the order of those two and
> change _default_:* to 192.168.1.111:80.
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

--
Ciao ?:-)
Shirlyn, the WebPrincess



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message