Всем привет..
мучаюсь уже 3ие сутки перелопатил кучу тем... не могу не чего понять.. полгода назад все устанавливал и работало.. вот снова коснулся но забыл как точно все делать.. по памяти не чего не получается..
1.
установлен
apache2-httpd-worker-2.2.8-alt1
apache2-common-2.2.8-alt1
apache2-httpd-prefork-2.2.8-alt1
apache2-2.2.8-alt1
php5-libs-5.2.5-alt1.M41.3
php5-mysql-5.2.5-alt1
php5-5.2.5-alt1.M41.3
php-base-2.2-alt1
php5-suhosin-0.9.23-alt1
php5-mbstring-5.2.5-alt1
php-libs-4.4.8-alt1
php5-gd2-5.2.5-alt1
php5-mcrypt-5.2.5-alt1
скидываю нужные мне файлы в каталог /var/www/apache2/html
птыаюсь открыть http://localhost/ выдет ошибку
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Thu Sep 24 23:40:44 2009
Apache/2.2.8 (Unix)
открываю http://localhost/index.php
просто открывает код
2. пытаюсь настроить виртуалхост
в файле /etc/httpd2/conf/sites-available/vhosts.conf раскоментирую
<VirtualHost :80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot /var/www/vhosts/dummy-host.example.com
ServerName dummy-host.example.com
ServerAlias www.dummy-host.example.com
ErrorLog /var/log/httpd2/dummy-host.example.com-error_log
CustomLog /var/log/httpd2/dummy-host.example.com-access_log common
</VirtualHost>
естественно меняю на свои натсройки
<VirtualHost 127.0.0.0.1>
ServerAdmin webmaster@test.ru
DocumentRoot /home/system/www/test.ru
ServerName test.ru
ServerAlias www.test.ru
ErrorLog /var/log/httpd2/test_ru_log
CustomLog /var/log/httpd2/test_ru_log common
</VirtualHost>
в фале
/etc/hosts
добавляю 127.0.0.1 test.ru
открываю http://test.ru ошибка
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Thu Sep 24 23:40:44 2009
Apache/2.2.8 (Unix)
открываю http://test.ru/index.php
просто открывает код
3.
раскажите плх что я делаю не так и кому какие права нужно выставить и кого в какую группу добавить
4. где включить отображение mysql ошибок
извените пожалуйста что снова поднимаю эту тему