Всем привет!
Установил последнюю версию Школьного сервера. Настраиваю потихоньку Нетамс.
Следую Вашим инструкциям:
http://forum.altlinux.org/index.php/topic,6364.msg89514.html#msg89514Веб-сервер. Первоначальная установка.
Первое отличие - в файле
/etc/httpd2/conf/sites-available/default.conf
нет строки <Directory "/usr/share/doc/indexhtml/">
если я тупо добавляю туда <Directory "/var/www/html/">
то сервер апаче2 не стартует
[root@inetserver2 /]# service httpd2 restart
Service httpd2 is not running. [PASSED]
Checking configuration sanity for httpd2: httpd2: Syntax error on line 147 of /etc/httpd2/conf/httpd2.conf: Syntax error on line 151 of /etc/httpd2/conf/sites-enabled/000-default.conf: Expected </Directory> but saw </VirtualHost>
[FAILED]
Что конечно огорчает:)
Новая версия сервера диктует свои законы?
При попытке войти на свой сервер по IP
http://192.168.2.10 получаю :
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
192.168.2.1
Thu Mar 15 14:01:16 2012
Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8d PHP5/5.2.5 with Suhosin-Patch
включаю режим RewriteCond %{HTTPS} != on все работает как при первом запуске...
В чем проблема?