9 replies
by brianaaa12
There could be a number of things going on. First check your access.conf file for proper configuration. Go to a command prompt and type ps -ax and look for httpd entries to verify that Apache is running. Then check to folder permission of your /home/httpd folder. They should be drwxr-xr-x. Was Apache installed when Red Hat was installed? Generally it's installed and running by default, but I use Caldera and am not familiar with RH. Good luck.
Brian
by jay
by zbrain75
I can tell you that the problem is in your /etc/httpd/conf/access.conf file. I know this because I had exactly the same problem, but now I an unable to duplicate it although I can still give you some hints. It sometimes happens when you use linuxconf to configure apache web services.
What I suggest is that you make a backup copy of the /etc/httpd/conf/access.conf and edit it with vi or emacs. There are directory entries in the file and I think the problem is 2/3 into the file or more. Directory permissions are specified in blocks. For example the root directory will start with:
and end with
Check the following directories closely:
I think your problem isin one of these and probably /home/httpd/html. It seems there were some lines that denied permissions that I had to delete or I modified the Options or AllowOverride lines. I think the line "Deny from all" or something like that was included in some locations in the file.
Another thing you may try to get a good apache configuration file is to do another install of linux on another ext2 partition (or on another computer) and get a copy of the file from the other install. You can then compare them and see what linuxconf did to your file.
by jay
by petronil
I assumed that your apache is running well.
Check first your configuration of /etc/httpd/conf/httpd.conf for what users and groups are specified. Users and groups should be set to nobody then check your file permissions on /home/httpd. Your /etc/httpd/conf/access.conf has an access control and be sure that the order allows all before you specify a deny access.
by jay
by sierramyk
You don't specify if you are using Apache--but if you are and are getting this error "Forbidden/You don't have permission to access / on this server"--try this:
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.
P.S. This is straight from the Apache FAQ at http://httpd.apache.org/docs/misc/FAQ.html--and it works--I know, because I had the same problem last week and this fixed it.
by jay
by jay
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending