permission on /var/www & /var/www/html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux