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 # PETICIONES POR DEFECTO. <VirtualHost *:80> DocumentRoot /var/www/desarrollo/ ServerAdmin webmaster@localhost DirectoryIndex index.php index.html index.htm default.html default.htm <Directory /> Options -FollowSymLinks AllowOverride None </Directory> <Directory /var/www/desarrollo/> Options -Indexes -FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> TransferLog /var/log/apache2/access.log ErrorLog /var/log/apache2/error.log </VirtualHost> # MATCHINGS DE SERVERNAME. <VirtualHost *:80> ServerName www.laweb.com DocumentRoot /var/www/publica/ ServerAdmin webmaster@localhost DirectoryIndex index.php index.html index.htm default.html default.htm <Directory /> Options -FollowSymLinks AllowOverride None </Directory> <Directory /var/www/publica/> Options -Indexes -FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all Options Includes AllowOverride All </Directory> TransferLog /var/log/apache2/www.laweb.com-access.log ErrorLog /var/log/apache2/www.laweb.com-error.log </VirtualHost> <VirtualHost *:80> ServerName www.laweb.es DocumentRoot /var/www/publica/ ServerAdmin webmaster@localhost DirectoryIndex index.php index.html index.htm default.html default.htm <Directory /> Options -FollowSymLinks AllowOverride None </Directory> <Directory /var/www/publica/> Options -Indexes -FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all Options Includes AllowOverride All </Directory> TransferLog /var/log/apache2/www.laweb.es-access.log ErrorLog /var/log/apache2/www.laweb.es-error.log </VirtualHost> <VirtualHost *:80> ServerName 10.0.0.100 DocumentRoot /var/www/ ServerAdmin webmaster@localhost DirectoryIndex index.php index.html index.htm default.html default.htm <Directory /> Options -FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options -Indexes FollowSymLinks -MultiViews AllowOverride None Order allow,deny allow from all Options Includes AllowOverride All </Directory> TransferLog /var/log/apache2/10.0.0.100-access.log ErrorLog /var/log/apache2/10.0.0.100-error.log </VirtualHost> -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/064601cc79ca$50b055b0$f2110110$@yahoo.es