Тема: apache
Показать сообщение отдельно

apache
  #1  
Старый 29.03.2009, 20:15
barnaki
Познающий
Регистрация: 02.11.2008
Сообщений: 87
С нами: 9221506

Репутация: 14
По умолчанию apache

VirtualHost 127.0.0.1:80>
DocumentRoot "/php_files/home/banderas"
ServerName banderas
ErrorLog /php_files/home/banderas/error_log.txt
<Directory "/php_files/home/banderas">
Allowoverride All
Allow from all
</Directory>
</Virtualhost>

<VirtualHost 127.0.0.1:80>
DocumentRoot "/php_files/home/banderas/super/public"
ServerName super
ErrorLog /php_files/home/banderas/error_log.txt
<Directory "/php_files/home/banderas/super/public">
Allowoverride All
Allow from all
</Directory>
</Virtualhost>

127.0.0.1 localhost
127.0.0.1 banderas
127.0.0.1 super

почему меня все = кидает в document root первого хоста ?? или что то не так я понимаю .
я думал что при адресе super в браузере будет запускаться файл index из папки public . но .
 
Ответить с цитированием