View Single Post
  #4  
Old 31st August 2010, 09:25
OmeOme OmeOme is offline
Junior Member
 
Join Date: Aug 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by madcat87 View Post
Hello.I have the following setup:

Apache Web server Configured to use ~user dirs.User accounts with homedirs at /home/* and webroot at /home/*/public_html/ for every user(users can access their web content with http://domain.com/~username) ,every user can access his homedir with ssh.The problem here is that every user can read the homedir of the other user and eventually read some private .php files.The other problem is that the .php files in /home/*/public_html/ are executed with the User Apache is running as ,so if a user sets his home dir with 700 permitions the apache process can`t reach the files at /home/*/public_html/. I don`t see a point from chrooted ssh becouse users will still can see foreign user homedirs.

And another question: How can i disable and/or Enable php only for particular users ?

Thanks
I want to do the same settings with ISPConfig - what have I do? Thanks in advance.
Reply With Quote