Cyrill
Новичок
Apache 1.33 и Virtualhosts
Перенес с Apach2 на Apach1.33 name-based vhosts. И теперь дополнительный хост отказывается открываться комментируя это Forbidden .You don't have permission to access / on this Server.
Читал на apache.org что там какая-то нова тема с вируальными хостами (http://httpd.apache.org/docs/1.3/misc/FAQ.html#namevhost)
НО! Если обратиться к конкретному файлу по имени, то он откроется. Т.е http://server.com/ -- посылает, а http://server.com/ -- открывается.
-~{}~ 06.08.05 00:35:
Тема закрыта. Извините. Оказывается DirIndex был пуст
Перенес с Apach2 на Apach1.33 name-based vhosts. И теперь дополнительный хост отказывается открываться комментируя это Forbidden .You don't have permission to access / on this Server.
Читал на apache.org что там какая-то нова тема с вируальными хостами (http://httpd.apache.org/docs/1.3/misc/FAQ.html#namevhost)
НО! Если обратиться к конкретному файлу по имени, то он откроется. Т.е http://server.com/ -- посылает, а http://server.com/ -- открывается.
PHP:
<VirtualHost *:80>
ServerName server1
DocumentRoot /home/server1/public_html/html
ErrorLog /home/server1/public_html/error.log
</VirtualHost>
<VirtualHost *:80>
ServerName server2
ServerAlias *.server2
DocumentRoot /home/server2/public_html/html
ErrorLog /home/server2/public_html/error.log
</VirtualHost>
Тема закрыта. Извините. Оказывается DirIndex был пуст