Gentoo Archives: gentoo-user

From: Michael Hampicke <gentoo-user@××××.biz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] USERDIR problem with apache on new install
Date: Sat, 29 Sep 2012 16:34:33
Message-Id: 5067224B.6010208@hadt.biz
In Reply to: [gentoo-user] USERDIR problem with apache on new install by Allan Gottlieb
1 Am 29.09.2012 17:08, schrieb Allan Gottlieb:
2 > On my new install USERDIR is not working.
3 >
4 > When I try http://localhost/~gottlieb, firefox says
5 > "you don't have permission to access /~gottlieb"
6 > and the apache error log says
7 > "client denied by server configuration: /local/allan/gottlieb/public_html"
8 >
9 > The file permissions are ok since both
10 > file:///home/gottlieb/public_html/index.html and
11 > file:///home/gottlieb/public_html
12 > work fine.
13 >
14
15 I am sure your user has access to the files - thus allowing you to
16 browse them locally (file:///) - but does apache (more precisely the
17 systems user 'apache') have access to this files?
18
19 Have you tried this:
20
21 # sudu -u apache cat /home/gottlieb/public_html/index.html

Replies

Subject Author
Re: [gentoo-user] USERDIR problem with apache on new install Allan Gottlieb <gottlieb@×××.edu>