Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
configuring apache
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
green_buddy
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 115
Location: Bay Area, CA

PostPosted: Tue Jan 21, 2003 10:45 am    Post subject: configuring apache Reply with quote

Hi all...

I'm trying to configure apache which hasn't been that hard so far. I think the only file I need to worry about is /etc/apache/conf/apache.conf. Especially if I'm trying to move the DocumentRoot to a location other than the default of /home/httpd/htdocs. But whenever I change the DocumentRoot to the other directory I get an error:

Code:
Forbidden: You don't have permission to access / on this server.


What's that all about? Is it a directory permissions thing, or is this related to some other config file. I was used to the normal way of using httpd.conf to configure apache, but that seems to have been replaced by apache.conf. Can anyone tell me what I should be looking at here?

Thanks,
-green
Back to top
View user's profile Send private message
fzimper
n00b
n00b


Joined: 17 Jan 2003
Posts: 61
Location: Germany

PostPosted: Tue Jan 21, 2003 11:58 am    Post subject: Reply with quote

You should find something similar to the text below somewhere in httpd.conf
Quote:

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory " /home/httpd/htdocs">

...

</Directory>

You have to change this to the same directory as DocumentRoot.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Jan 21, 2003 6:06 pm    Post subject: Reply with quote

The section fzimper is quoting is actually in /etc/apache/conf/commonapache.conf.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
green_buddy
Tux's lil' helper
Tux's lil' helper


Joined: 08 Jan 2003
Posts: 115
Location: Bay Area, CA

PostPosted: Tue Jan 21, 2003 8:02 pm    Post subject: Reply with quote

Thanks guys.... I missed the Include statement for commanapache.conf in apache.conf. I'll get this emerge ebuild thing down yet! :wink:

-green
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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