Protect individual sites on Ubuntu/Apache server

Posted by Christoffer on Server Fault See other posts from Server Fault or by Christoffer
Published on 2010-05-06T06:14:55Z Indexed on 2010/05/06 6:18 UTC
Read the original article Hit count: 250

Filed under:
|
|

Hi,??

I need to set up a Apache server configuration for some client sites that run under the same Ubuntu 9.10 machine. All sites are allowed to run PHP, Python and Ruby on Rails. I do not control the source code of these sites and so I need to set up a filter in order to prevent one user to reach files on another users account.??

If I run a script to list files in "/" from one account, I can browse some files and directories in the actual server root. I want to set the root for each account to /var/usersite.com/www/ instead so that listing files in "/" shows the files in the client's root.

??How is this most easily configured???

Cheers!?

/Christoffer

© Server Fault or respective owner

Related posts about ubuntu-server

Related posts about apache