Apache 2 vhost and permissions
Hello,
I'm having a (in my opinion) weird problem on Red Hat 9 with Apache 2. I'm using the VirtualHost directive to host a number od websites, yet I'd sure like to keep the files unreadable by other ssh users. I'm some cases I've achieved this, but in some I have not. Here's how it goes: Let's take the users sarment and server for example. Their home directories are /home/users/s/[sarment|server], respectively. Both the directories have public_html folder where the sites are kept. Permissions are, for home directories 711, and for public_html folders 710. Now the weird thing is that when I enter the address for sarment, everything works brilliantly. For server, I get 403 Forbidden. In my httpd.conf the VirtualHost directives are set to be exactly the same, expect in the directories. Any help, please? EDIT: And just to make it more clear.. What I'm hunting for is a way to have Apache display those sites properly, but at the same time make sure users cannot access the source codes of other users. |
Anyone? :confused:
|
All times are GMT -5. The time now is 03:18 PM. |