Click to See Complete Forum and Search --> : Apache Permissions


Homer J Simpson
06-06-2001, 11:06 AM
I just installed RH 6.2, (test machine only has 16MB of memory), I updated apache,SAMBA and all dependancies.
SWAT for SAMBA works, so i know apache works.
But When i try to access the included test page in /home/httpd/html/ or where-ever it is, i get 403 error. I know it is a permissions issue, but i don't know where to change permissions. Thanks!

PS-This is the best Linux n00bie helpng board i have found!

freebsd
06-06-2001, 12:38 PM
>> I know it is a permissions issue, but i
don't know where to change permissions

Run this:

find /home/httpd -type d | xargs chmod 755

Homer J Simpson
06-06-2001, 04:58 PM
What does this command do?
I know chmod, has to do with permissions.

freebsd
06-06-2001, 07:09 PM
>> What does this command do?

Running find /home/httpd -type d | xargs chmod 755 will fix all directory permission for you automatically. This will chmod all directories under /home/httpd to 755 recursively, just dir.

You may wanna run this as well:
find /home/httpd -type f | xargs chmod 644, this will chmod all files to 644 recursively.

Homer J Simpson
06-06-2001, 09:16 PM
Thanks for your help.
My problem was with my conf file.
I got it working now! :)