Click to See Complete Forum and Search --> : Forbidden Access


FunkyBlueStick
10-11-2000, 01:37 PM
Hi everyboddy,

I've just set up apache for the first time and I had so many problems even getting it to start but now I have and I can access webmin from other computers on my network but I can't get access to my document root. The server is called gw1 but when I type that in to a browser I get :

Forbidden

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

Does anybody know what this means? I'm so confused and I have a head ache http://www.linuxnewbie.org/ubb/frown.gif

Thanks in advance

------------------
Yours with Peace and Love

Funky..

djv
10-11-2000, 09:16 PM
Your directory and file permissions may be fubar.

/home should be chown root.users, chmod 751
(or root.root, 755 depending on paranoia)
/home/httpd should be chown root.root, chmod 711
/home/httpd/html should be root.root, 755
/home/httpd/html/* should be root.root, 644

Basicly anybody, including "nobody" (apache runs as "nobody") should be able to walk up the file system to the /home/httpd/html directory without being stopped by directory permissions, or being able to see anything _but_ the contents of /home/httpd/html.

------------------
"Remember, the enemy's gate is DOWN."