httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Default server is overridden by first VirtualHost
Date Fri, 01 May 2009 15:16:35 GMT
On Fri, May 1, 2009 at 10:44 AM, Basil Mohamed Gohar
<abu_hurayrah@hidayahonline.org> wrote:
> #
> # Use name-based virtual hosting.
> #
> NameVirtualHost *:80
>
> <VirtualHost *:80>
>    ServerName x
>    ServerAlias y z
>    DocumentRoot /home/basilgohar/Public/www/app
> </VirtualHost>

> Can anyone help me get my default server back?

The manual explicitly talks about this. If it matches, it will hide
the base/default server.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message