From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E9050138010 for ; Sat, 29 Sep 2012 16:34:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02FA621C075; Sat, 29 Sep 2012 16:33:48 +0000 (UTC) Received: from mx1.hadt.biz (sil.hadt.biz [5.9.16.100]) by pigeon.gentoo.org (Postfix) with ESMTP id 75C4D21C05D for ; Sat, 29 Sep 2012 16:31:09 +0000 (UTC) Received: from [192.168.255.100] (p5B34036B.dip.t-dialin.net [91.52.3.107]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.hadt.biz (Postfix) with ESMTPSA id 3960940048 for ; Sat, 29 Sep 2012 18:31:08 +0200 (CEST) Message-ID: <5067224B.6010208@hadt.biz> Date: Sat, 29 Sep 2012 18:31:07 +0200 From: Michael Hampicke User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120913 Thunderbird/15.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] USERDIR problem with apache on new install References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Archives-Salt: 28475f67-a470-43d9-aa7b-7090481f3b5f X-Archives-Hash: 7e0c2bdf6bb5d395c0534c66946a0477 Am 29.09.2012 17:08, schrieb Allan Gottlieb: > On my new install USERDIR is not working. > > When I try http://localhost/~gottlieb, firefox says > "you don't have permission to access /~gottlieb" > and the apache error log says > "client denied by server configuration: /local/allan/gottlieb/public_html" > > The file permissions are ok since both > file:///home/gottlieb/public_html/index.html and > file:///home/gottlieb/public_html > work fine. > I am sure your user has access to the files - thus allowing you to browse them locally (file:///) - but does apache (more precisely the systems user 'apache') have access to this files? Have you tried this: # sudu -u apache cat /home/gottlieb/public_html/index.html