From owner-freebsd-questions@FreeBSD.ORG Mon Dec 10 08:38:49 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B877316A419 for ; Mon, 10 Dec 2007 08:38:49 +0000 (UTC) (envelope-from alainfabry@belgacom.net) Received: from mailrelay001.isp.belgacom.be (mailrelay001.isp.belgacom.be [195.238.6.51]) by mx1.freebsd.org (Postfix) with ESMTP id 5C57313C457 for ; Mon, 10 Dec 2007 08:38:48 +0000 (UTC) (envelope-from alainfabry@belgacom.net) X-Belgacom-Dynamic: yes Received: from 167.209-244-81.adsl-dyn.isp.belgacom.be (HELO belgacom.net) ([81.244.209.167]) by relay.skynet.be with ESMTP; 10 Dec 2007 09:38:34 +0100 Date: Mon, 10 Dec 2007 09:35:14 +0100 From: "Alain G. Fabry" To: freebsd-questions@freebsd.org Message-ID: <20071210083514.GA8145@ducati-748.3rdrock.kicks-ass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: Userdir mod in apache2.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2007 08:38:49 -0000 Apache/2.2.6 (FreeBSD) PHP Version 5.2.5 FreeBSD 6.2 Trying to get the userdir module to work but it seems to fail all the time due to 'You don't have permissions....' Main webserver works fine. Only when trying to go to the 'http://localhost/~user/index.html' I get the permissions error. when looking at phpinfo -> loaded modules identifies mod_userdir I've uncommented the following in httpd.conf Include etc/apache22/extra/httpd-userdir.conf I've changed my extra/httpd-userdir.conf to where homedirs are in /data/username UserDir public_html (Also tried to put UserDir enable username) AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec Order allow,deny Allow from all Order deny,allow Deny from all I've made sure that the whole /data/username/public_html is readable by everybody by a simple chmod -R 755 /data But I just cannot get my userdir to functions correctly. What am I missing? Thanks, Alain