Привет всем! Не работает. Вот ошибка root@nixhos:/etc# init.d/apache2 restart * Restarting web server apache2 apache2: apr_sockaddr_info_get() failed for nixhos apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [Mon May 18 14:08:15 2009] [warn] NameVirtualHost nixh.ru:80 has no VirtualHosts [Mon May 18 14:08:15 2009] [warn] NameVirtualHost *:80 has no VirtualHosts ... waiting apache2: apr_sockaddr_info_get() failed for nixhos apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName [Mon May 18 14:08:16 2009] [warn] NameVirtualHost nixh.ru:80 has no VirtualHosts [Mon May 18 14:08:16 2009] [warn] NameVirtualHost *:80 has no VirtualHosts [ OK ] root@nixhos:/etc#
--------------------------------------------------------------- Вот что у меня в hosts
127.0.0.1 nixhost localhost.localdomain localhost nixh.ru genialen.ru
--------------------------------------------------------------- Виртуальные хосты организованны так
/etc/apache2/sites-available/genialen.ru.conf
NameVirtualHost genialen.ru:80
<VirtualHost genialen.ru:80> DocumentRoot /www/genialen.ru/http ServerName genialen.ru <Directory «/www/genialen.ru/http»> allow from all Options +Indexes </Directory> </VirtualHost>
/etc/apache2/sites-available/nixh.ru.conf
NameVirtualHost nixh.ru:80
<VirtualHost nixh.ru:80> DocumentRoot /www/nixh.ru/http ServerName genialen.ru <Directory «/www/nixh.ru/http»> allow from all Options +Indexes </Directory> </VirtualHost>
-------------------------------------------------
/etc/apache2/sites-available/0000-default нету /etc/apache2/sites-enabled линки есть на nixh.ru.conf и genialen.ru.conf