Re: NameVirtualHost *:80 has no VirtualHosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Krist van Besien wrote:
On Wed, May 12, 2010 at 3:21 PM, Tapas Mishra <mightydreams@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux