LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Apache Error 403 - CentOS 5.2 with Apache 2.2.3 (https://www.linuxquestions.org/questions/linux-newbie-8/apache-error-403-centos-5-2-with-apache-2-2-3-a-717455/)

gordymann 04-07-2009 10:38 AM

Apache Error 403 - CentOS 5.2 with Apache 2.2.3
 
I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3.

When I try to access any web page I get the following error:
Forbidden

You don't have permission to access /bb/ on this server.
Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80

So far I have:
1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^\.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)

I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next.

MasterC 04-07-2009 11:46 AM

If you take BB out of equation and just try to setup a basic virtualhost that serves up something simple like:
<html>
<head>
<title>Hi World</title>
</head>
<body>
I rule
</body>
</html>

to see if your server is setup correctly?

-Chad

gordymann 04-08-2009 08:57 AM

Issue Resolved
 
I feel silly but the problem was not the Symbolic Links it was the permissions to the paths along the way. In particular /home/bbnix/ was restricting user access and causing the problem. I modified these to 711 and the site now functions properly.


All times are GMT -5. The time now is 04:54 PM.