From owner-freebsd-questions@FreeBSD.ORG Thu Feb 18 19:46:58 2010 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 AB1F91065693 for ; Thu, 18 Feb 2010 19:46:58 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout025.mac.com (asmtpout025.mac.com [17.148.16.100]) by mx1.freebsd.org (Postfix) with ESMTP id 941C58FC0A for ; Thu, 18 Feb 2010 19:46:58 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp025.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KY100ER7YXYSN00@asmtp025.mac.com> for freebsd-questions@freebsd.org; Thu, 18 Feb 2010 11:46:48 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1002180150 From: Chuck Swiger In-reply-to: <4B7D95A8.5000206@joseph-a-nagy-jr.us> Date: Thu, 18 Feb 2010 11:46:46 -0800 Message-id: References: <4B7D90BC.10901@joseph-a-nagy-jr.us> <4B7D95A8.5000206@joseph-a-nagy-jr.us> To: Programmer In Training X-Mailer: Apple Mail (2.1077) Cc: FreeBSD Questions Subject: Re: User Directories On FreeBSD 8.0-RELEASE 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: Thu, 18 Feb 2010 19:46:58 -0000 Hi-- On Feb 18, 2010, at 11:31 AM, Programmer In Training wrote: > On 02/18/10 13:21, Chuck Swiger wrote: > >> Apache is going to look up the home directories specified in >> /etc/passwd via getpwent() or similar. If allowed, it would chase a > > Then it shouldn't even bother with having a setting for specifying the > path to user directories (or at least that behavior should be documented). Whether the path to user home directories is honored or whether Apache goes somewhere else for HTTP requests for /~user/foo.html depends on what you set UserDir to: http://httpd.apache.org/docs/2.2/mod/mod_userdir.html It's possible that using: UserDir /usr/home/*/public_html ....will do better, if that is the actual path being used. >> symlink from /home to under /usr/home, but SymLinksIfOwnerMatch is >> likely to matter here. > > See, now that's helpful. Thank you. No one suggested that. Will add it > and see if that changes anything. I suspect you already have it, according to what you'd shown in the prior mail. Using FollowSymLinks instead might be necessary depending on what you do with UserDir. >> You should be getting more useful information in the Apache error >> log...perhaps /var/log/httpd-error.log, depending on whether you used >> the Apache from ports or rolled your own. >> >> Regards, > > I rolled my own because I couldn't even get Apache from ports to start > with the default http.conf file provided. Hmm, unexpected. What did apachectl configtest say? > I think the log level is set to warn, I'll chase that down, too. More > useful information is good. > > Thank you so much for the help. This has been bothering me for almost a > two weeks now. You're most welcome... Regards, -- -Chuck