Here is my problem. I´m using Apache 2.0 on Fedora 2.
I have a server with one httpd running with a few virtual hosts, each "owned" by a different user. But for apache to have access to /home/bob/example.com bob has to have all his stuff set to read access for everyone, including mal. Mal will ofcourse use this to fetch Bob´s database passwords from the php code in example.com and etc...
How can I set up permissions in Linux to allow apache access to both /home/mal/example.net and /home/bob/example.com but not allow mal to access bob and vice versa?
PS. This is what is in httpd.conf:
<VirtualHost *:80>
ServerAdmin mal@example.net
DocumentRoot /home/mal/example.net
ServerName example.net
...
</VirtualHost>
<VirtualHost *:80>
ServerAdmin bob@example..com
DocumentRoot /home/bob/example.com
ServerName example.com
...
</VirtualHost>