Hi,

I have spent most of the day getting per user web serving to work 
(/home/$user/public_html => http://server/~$user) but was constantly getting 
"401 Forbidden" errors with apache2.

After lots of hunting I found that you have to set the permissions for the 
user directories to 755 (a+rx). So now it works, but all the users can see 
each others home directories, which is unacceptable (security wise) for this 
server.

So I am here to ask if anyone cen recommend a more secure way of doing this. I 
want each users home directory readable only by that user (no other users) but 
that apache can still serve without a "Forbidden" error.

Any tips appreciated, thanks!
-- 
http://ziva-vatra.dnsalias.com/~ognen



-- 
gentoo-user@gentoo.org mailing list

Reply via email to