Discussion Locked

Configuring httpd in linux 6.2

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi there,
I've installed Linux 6.2 from redhat. The Installation was a breeze but i'm Stumped with configuring Apache. Apache is up and running but i just can't access it through my browser.
The error displayed was:

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

Apache/1.3.12 Server at linux Port 80

I went through the documentation and found that the access to the files have to be changed using

chmod a+r /home/httpd/html/index.html

But it did not help. The User has been
User : nobody
Group : nobody

That does not work, nor does any valid user id on the System (I tried root too, but apache responded with a security exception)

I've went through my error_log & access_log checked out the docs, Searched the online fourums........yet, Nothing.

Somebody out there help me!!
How is it that not many people have this error.
Thnx in Advance.

4 replies

by leonardo

I think you have two possibilities.
One is to change the entry "DocumentRoot" in the httpd.conf file where say "/home/httpd/html" should say "/home/httpd".
Another option is:
in the entry in the same file (httpd.conf):

AllowOverride AuthConfig FileInfo Indexes Limit Options
Order allow,deny
Deny from all

Luck!

This discussion is closed to new replies.