FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free 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.
Related topics
[OFFICIAL] Bleach - No more new threads about this
Hide Part of Your Web Site from Yahoo!
javascript function not being seen
Form Action relative address problem
Problem with tar.gz files
public /stats won't work, and add again gets error!
FTP server
PhpNuke Installation Tutorial
Guide:How to make a HTTP server on your pc
event inside iframe call functions in the root HTML
CHMOD Checker
File grab script? Will pay 30 FRIH$
Python script execution help [Serv. 3]
simple URL redirection
Reply to topic    Frihost Forum Index -> Computers -> Software

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