FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Permissions on my root html directory

 


ammonkc
The permissions on my root html directory is denying access to any browser and even apache for any subdirectories and all files in those subdirectories. so apache can't even include any php files. if I do a chmod 755 on a file, it works fine for that particular file.

My question is it safe or good practice to do a chmod -R 755 (or 777 or whatever) on this root html directory (Sites)? or is there a better way (like editing something in my httpd.conf or something like that)?
nikolic
It doesn't really matter, just don't do chmod 777 on ANYTHING that you don't want destroyed on the web. This will allow anyone that wants to to deface any file in the directory.

Use chmod 755 for world readable but owner writable files.
Reply to topic    Frihost Forum Index -> Computers -> Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.