Gentoo Archives: gentoo-user

From: Ognjen Bezanov <ognjen@×××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Apache + Per User Directory configuration
Date: Mon, 01 May 2006 21:53:17
Message-Id: 200605011122.23512.ognjen@mailshack.com
1 Hi,
2
3 I have spent most of the day getting per user web serving to work
4 (/home/$user/public_html => http://server/~$user) but was constantly getting
5 "401 Forbidden" errors with apache2.
6
7 After lots of hunting I found that you have to set the permissions for the
8 user directories to 755 (a+rx). So now it works, but all the users can see
9 each others home directories, which is unacceptable for this server.
10
11 So I am here to ask if anyone cen recommend a more secure way of doing this. I
12 want each users home directory readable only by that user (no other users) but
13 that apache can still serve without a "Forbidden" error.
14
15 Any tips appreciated, thanks!
16 --
17 http://ziva-vatra.dnsalias.com/~ognen
18
19
20
21 --
22 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Apache + Per User Directory configuration Mike Williams <mike@××××××××.uk>
Re: [gentoo-user] Apache + Per User Directory configuration Matthias Bethke <matthias@×××××××.de>