Re: Error restarting apache2
On Fri, 23 Sep 2011 10:25:12 +0200, Gorka wrote:
> By the time I restart apache2 there is the following output ...
>
> Restarting web server: apache2[Fri Sep 23 10:05:38 2011] [warn]
> NameVirtualHost *:80 has no VirtualHosts
> ... waiting [Fri Sep 23 10:05:39 2011] [warn] NameVirtualHost *:80 has
> no
> VirtualHosts
> .
>
> Everything seems to work properly, but I'd like to avoid this error
> message. I know there is something wrong with the setup, but don't have
> idea what it is.
> This is the content of my /etc/apache2/sites-enabled/000-default ...
>
> #Listen 80
>
> NameVirtualHost *:80
(...)
Gorka, just to compare setups... I have those variables enabled and set
at "/etc/apache2/ports.conf":
Listen 80
NameVirtualHost *:80
The site files look like yours (with just "<VirtualHost>" containers on
them). Besides, I added at "/etc/hosts" the IP of the own server, not
sure if that can make any difference though...
Greetings,
--
Camaleón
Reply to: