[CentOS] permission on /var/www & /var/www/html

Wed Mar 5 17:24:47 UTC 2008
Jan Welker <jan.welker at gmail.com>

Hi Hiep,

user: apache group: apache

Cheers, Jan

On Wed, Mar 5, 2008 at 4:51 PM, Hiep Nguyen <hiep at ee.ucr.edu> wrote:

> hi all,
>
> assume apache runs under apache user/group and i have a user/group name
> "weber". i use "weber" user to upload files via ftp/sftp.
>
> where should i place my include files so that no one can access except
> apache b/c these files contained user/pw for mysql.
>
> i usually place them in /var/www/html/includes, but people can access to
> this folder, so i'm thinking place them in /var/www/includes.
>
> what should the permission for /var/www/html and /var/www/inclues/? what
> group should these two directories belong to???
>
> thanks,
> t. hiep
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080305/0fabfeda/attachment-0005.html>