View previous topic :: View next topic |
Author |
Message |
luka n00b
Joined: 01 Apr 2004 Posts: 3 Location: Mars
|
Posted: Thu Apr 01, 2004 5:58 am Post subject: Помогите, пожалуста, настроить apa |
|
|
Установил этот web-server, произвел конфигурацию, запускаю:
Code: | luka apache2 # /etc/init.d/apache2 start
* Re-caching dependency info (mtimes differ)...
* Starting apache2... [!!]
|
Ошибок никаких нигде нет. Может кто ставил уже и у Вас работает. |
|
Back to top |
|
|
luka n00b
Joined: 01 Apr 2004 Posts: 3 Location: Mars
|
Posted: Thu Apr 01, 2004 9:42 am Post subject: |
|
|
Так с запуском разобрался, а вот не хочет отдавать страницы, если у меня
DocumentRoot /home/httpd/www, пишет:
Code: | Forbidden
You don't have permission to access / on this server. |
Идеи? |
|
Back to top |
|
|
hermes_jr l33t
Joined: 26 Feb 2004 Posts: 701 Location: Moscow, Russia
|
Posted: Thu Apr 01, 2004 11:00 am Post subject: |
|
|
Лечится элементарно:
Code: |
# chmod a+x /home/httpd/www
# chmod a+rx /home/httpd/www
|
Добавить этот кусок в /etc/apache2/conf/apache2.conf
Code: |
<Directory /home/httpd/www/>
Options Indexes
AllowOverride Options
Order allow,deny
Allow from all
</Directory>
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|