Click to See Complete Forum and Search --> : Permissions for ~user/ webpages?


gishmachina
09-21-2002, 09:04 PM
I set apache to do the thing with public_html in the user directory, but when i go it says 403 Forbidden, you do not have permission etc..
Do I set permissions with chmod to the public_html dir and its contents? What do I set them at??

redwing25
09-21-2002, 09:30 PM
I had this problem a while back and I think you have to set r+x permissions for the public_html dir AND the /home/username dir.

There has to be exectue permissions for the /home/username folder.

bdl
09-22-2002, 01:39 AM
Right, as redwing mentioned, the perms on the /home/username directory are probably whats holding you up, I ran into this in redhat awhile back. The perms for your /home/username directory should be 711 or 755, and the ~/public_html directory should be 755.