httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman Peelman <npeel...@cfl.rr.com>
Subject Re: [users@httpd] NameVirtualHost *:80 has no VirtualHosts
Date Fri, 14 May 2010 01:33:31 GMT
Krist van Besien wrote:
> On Wed, May 12, 2010 at 3:21 PM, Tapas Mishra <mightydreams@gmail.com> wrote:
>   
>> I have 5 websites and all of them are different.
>> i.e. /etc/apache2/sites-enabled/site1.conf
>>  /etc/apache2/sites-enabled/site2.conf
>>  /etc/apache2/sites-enabled/site3.conf
>>  /etc/apache2/sites-enabled/site4.conf
>>  /etc/apache2/sites-enabled/site5.conf
>>
>> So in which of them should I have NameVirtualHost thing.
>>     
>
> What I do is just put a namevirtualhost statement in to each of my
> virtual host config files, so that I can be sure that disabling one of
> them doesn't break the server. The warning message this results in can
> be safely ignored.
>
> Krist
>
>
>   
NameVirtualHost directive belongs in the main config - and only once.


-- 
Norman Registered Linux user #461062 -Have you been to www.apache.org yet?-

---------------------------------------------------------------------
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