httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: mod_vhost_alias and NameVirtualHost question
Date Tue, 30 Apr 2002 12:54:20 GMT
S. Wong wrote:

> NameVirtualHost
> <VirtualHost>
>   ServerName
>   DocumentRoot         /usr/www/nvhosts/
>   [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


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message