KevinReichard
07-17-2002, 04:15 PM
These talkbacks are in response to the article Apache Guide: Configuring Your Apache Server Installation (http://www.serverwatch.com/stypes/servers/article.php/1126821).
Sriram Iyer
I have installed the Apache Server successfully but not able to access any files through browser. The link http://localhost gives the error
403 Forbidden
Can anyone tell me the reasons why this error is coming. I am logging into the system as root.
Naresh Patel responds:
I think you need to set the document path from where Apache is going to serve the web page.
MNM responds:
Try including in your Indexes Options Directive (under ). This also occurs when the file specifed in the DirectoryIndex directive is unavailable and Indexes has not been included in the Options Directive.
Mike O'Neill responds:
After much ado I found this snipit in the www.apache.org FAQ:
Q:
Why do I get a "Forbidden/You don't have permission to access / on this server" message whenever I try to access my server?
A:
Search your conf/httpd.conf file for this exact string: . If you find it, that's your problem -- that particular container is
malformed. Delete it or replace it with and restart your server and things should work as expected.
This error appears to be caused by a problem with the version of linuxconf distributed with Redhat 6.x. It may reappear if you use linuxconf again.
Sriram Iyer
I have installed the Apache Server successfully but not able to access any files through browser. The link http://localhost gives the error
403 Forbidden
Can anyone tell me the reasons why this error is coming. I am logging into the system as root.
Naresh Patel responds:
I think you need to set the document path from where Apache is going to serve the web page.
MNM responds:
Try including in your Indexes Options Directive (under ). This also occurs when the file specifed in the DirectoryIndex directive is unavailable and Indexes has not been included in the Options Directive.
Mike O'Neill responds:
After much ado I found this snipit in the www.apache.org FAQ:
Q:
Why do I get a "Forbidden/You don't have permission to access / on this server" message whenever I try to access my server?
A:
Search your conf/httpd.conf file for this exact string: . If you find it, that's your problem -- that particular container is
malformed. Delete it or replace it with and restart your server and things should work as expected.
This error appears to be caused by a problem with the version of linuxconf distributed with Redhat 6.x. It may reappear if you use linuxconf again.