Web Hosting Talk







View Full Version : Apache permission denied accessing page...


chuckt101
11-27-2002, 11:14 AM
Hi,

I upgraded Apache from 1.3 to 2.0 and I can't get it to show webpages. I didn't use any special configuration options when I compiled it - i used all defaults.

When I try to go to http://127.0.0.1, this is the error in the log:

[Wed Nov 27 08:22:33 2002] [error] [client 127.0.0.1] (13)Permission denied: access to / denied

I used the default /usr/local/apache2/htdocs DocumentRoot and I also changed it to /var/www/html . Neither worked.

I've verified 755 permission settings on those respective directories and atleast 711 on the parent directories.

I changed the apache user from "nobody" to "apache" since that was what 1.3 used.

Anybody know what's up?

Shyne
11-27-2002, 03:41 PM
What's the permission on the / directory?

chuckt101
11-27-2002, 03:45 PM
Originally posted by Shyne
What's the permission on the / directory?

grr. i didnt even think of that one. I checked everything under that.

It was 700.. just changed it to 711 and now it works. Thanks :rolleyes:

Shyne
11-27-2002, 03:46 PM
When they say / they really do mean /