View previous topic :: View next topic |
Author |
Message |
green_buddy Tux's lil' helper
Joined: 08 Jan 2003 Posts: 115 Location: Bay Area, CA
|
Posted: Tue Jan 21, 2003 10:45 am Post subject: configuring apache |
|
|
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 |
|
|
fzimper n00b
Joined: 17 Jan 2003 Posts: 61 Location: Germany
|
Posted: Tue Jan 21, 2003 11:58 am Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Jan 21, 2003 6:06 pm Post subject: |
|
|
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 |
|
|
green_buddy Tux's lil' helper
Joined: 08 Jan 2003 Posts: 115 Location: Bay Area, CA
|
Posted: Tue Jan 21, 2003 8:02 pm Post subject: |
|
|
Thanks guys.... I missed the Include statement for commanapache.conf in apache.conf. I'll get this emerge ebuild thing down yet!
-green |
|
Back to top |
|
|
|