Quote:
Originally posted by glytch
Wow, you guys are great. I didn't even think about that, thanks a ton.
Quick question: Would it be okay to make apache the owner of the files? (the apache user, I mean.)
|
if you look at your /etc/httpd.conf file, you should see the user and group assigned to apache. It's best to make the files owned by the apache group (usually called "www") rather than the apache user.
In apache 2 the group is "www-data".
The apache user may have permission to execute certain files, so it's best not to make stuff in your document root owned by that user.