Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Помогите, пожалуста, настроить apache-2.0.49
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
luka
n00b
n00b


Joined: 01 Apr 2004
Posts: 3
Location: Mars

PostPosted: Thu Apr 01, 2004 5:58 am    Post subject: Помогите, пожалуста, настроить apa Reply with quote

Установил этот web-server, произвел конфигурацию, запускаю:
Code:
luka apache2 # /etc/init.d/apache2 start
 * Re-caching dependency info (mtimes differ)...
 * Starting apache2...         [!!]

Ошибок никаких нигде нет. Может кто ставил уже и у Вас работает.
Back to top
View user's profile Send private message
luka
n00b
n00b


Joined: 01 Apr 2004
Posts: 3
Location: Mars

PostPosted: Thu Apr 01, 2004 9:42 am    Post subject: Reply with quote

Так с запуском разобрался, а вот не хочет отдавать страницы, если у меня
DocumentRoot /home/httpd/www, пишет:
Code:
Forbidden
You don't have permission to access / on this server.

Идеи?
Back to top
View user's profile Send private message
hermes_jr
l33t
l33t


Joined: 26 Feb 2004
Posts: 701
Location: Moscow, Russia

PostPosted: Thu Apr 01, 2004 11:00 am    Post subject: Reply with quote

Лечится элементарно:
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
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