Имя пользователя:
Пароль:
 

Название темы: [решено] VirtualHosts
Показать сообщение отдельно

Аватара для Artem-Samsung

Ветеран


Сообщения: 823
Благодарности: 53

Профиль | Сайт | Отправить PM | Цитировать


Код: Выделить весь код
NameVirtualHost *

<VirtualHost *:80> 
DocumentRoot /srv/www/htdocs
ServerName www.deykun.com
	<Directory /srv/www/htdocs/>     
		Options Includes Indexes +FollowSymLinks     
		AllowOverride all     
		Order allow,deny   
		Allow from all    
	</Directory> 
</VirtualHost>

<VirtualHost *:80> 
DocumentRoot /srv/www/test
ServerName www.my.deykun.com
	<Directory /srv/www/test/>     
		Options Includes Indexes +FollowSymLinks     
		AllowOverride all     
		Order allow,deny   
		Allow from all    
	</Directory> 
</VirtualHost>

Было Listen 80
Сделал Listen 127.0.0.1:80

Цитата:
soltek:~ # /etc/init.d/apache2 restart
[Sat Oct 04 10:47:38 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Oct 04 10:47:38 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
Syntax OK
Shutting down httpd2 (waiting for all children to terminate) done
Starting httpd2 (prefork) [Sat Oct 04 10:47:39 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Sat Oct 04 10:47:39 2008] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
done

-------
Мой блог Web Development


Отправлено: 18:38, 04-10-2008 | #11

Название темы: [решено] VirtualHosts