From owner-freebsd-questions@FreeBSD.ORG Sat Feb 20 14:05:56 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 B7D76106566C for ; Sat, 20 Feb 2010 14:05:56 +0000 (UTC) (envelope-from pit@joseph-a-nagy-jr.us) Received: from outbound-mail-01.bluehost.com (outbound-mail-01.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id 8706D8FC17 for ; Sat, 20 Feb 2010 14:05:55 +0000 (UTC) Received: (qmail 4461 invoked by uid 0); 20 Feb 2010 14:05:55 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by cpoproxy1.bluehost.com with SMTP; 20 Feb 2010 14:05:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=joseph-a-nagy-jr.us; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:X-Enigmail-Version:Content-Type:X-Identified-User; b=QJ3xkzVCMx/TWcW0gi+t6fcDR/c02/itgc/yNlhv0hhl8S+UZ9RYUxyA5DbfgQ1pCe50lFKcZCY0MtUKSCnjLc1SGevgUle7FlvcZemw0ajyW8ijiWFeQ0SFvPuEVk+a; Received: from [206.74.86.236] (helo=[192.168.1.100]) by box264.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Nipxz-0006i9-6s for freebsd-questions@freebsd.org; Sat, 20 Feb 2010 07:05:55 -0700 Message-ID: <4B7FEC35.1050509@joseph-a-nagy-jr.us> Date: Sat, 20 Feb 2010 08:05:41 -0600 From: Programmer In Training User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100203 Thunderbird/3.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20100219113921.BEF7610656FB@hub.freebsd.org> <20100220173427.E47158@sola.nimnet.asn.au> In-Reply-To: <20100220173427.E47158@sola.nimnet.asn.au> X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4BF5C1E1BF3927FF1D6AEA25" X-Identified-User: {2250:box264.bluehost.com:ameliora:joseph-a-nagy-jr.us} {sentby:smtp auth 206.74.86.236 authed with pit@joseph-a-nagy-jr.us} Subject: [SOLVED]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: Sat, 20 Feb 2010 14:05:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4BF5C1E1BF3927FF1D6AEA25 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sorry this hasn't been made clear, seems that the list is dropping some of my emails, but this issue has been solved. I'll post the answer here and hopefully the list will pick it up this time (or at least deliver it to me so I know it's been delivered): > On 02/19/10 03:05, Matthew Seaman wrote: >> If you're getting 403 permission denied errors trying to access >> userdirs, then the problem lies within the apache configuration. >> What you need to do is configure the permissions based on the home >> directory path returned from getpwent() -- by default under FreeBSD >> that's /home/user1/ Nevermind that much of the time /home is a symlin= k >> to /usr/home -- it's the path returned from the passwd file that apach= e >> uses for comparison, long before trying to resolve any symlinks and op= en >> anything on the hard-drive. I had defined the path as since I knew that /home was a symlink to /usr/home and did not want to take the chance of Apache having problems following the symlink. I didn't realize that Apache takes the path from getpwent(). I now have Apache configured and working properly. As for the user:group setting, that was something Apache set itself when installed (non-ports version, since the ports version wouldn't start for me with even just the default httpd.conf and no edits at all). I can change that and most likely will if it's very bad to have Apache running as daemon:daemon In case no one saw before, I would like once again to thank everyone for their help. --=20 Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. --------------enig4BF5C1E1BF3927FF1D6AEA25 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJLf+xFAAoJEENZQ8DH7rW0nAYH/0UWJ+zpeoL5ikumGjzFGgFK iJnPaP25PiZZsaDVVG8ITLNGs7JQaye7kYpfgFwxWszKh8eeq1LYNXSJYva+eIXM vJXiI6DywFdERhjwC2CmlVIhRagFcPRTELhpJV/iqNJPJqT6j+bDVJfwvqOsdlJE IbfIu9xsdj7OX7087O/1X8rfV5NklppIFP6k3TKBpETTgE1rh6jZuavCDZXlwl+D pXidnOIITBYei8E7VHcfQi7txKUBl5FQHJwJYDDExgT1RnsP0HZxESlV1/6y6ymC /V1EN5jJOnh96o4TyLiLO2eo5eIrqVxO0McGeZrayU/l/hsozPyMhzBRF2QksmE= =QyUg -----END PGP SIGNATURE----- --------------enig4BF5C1E1BF3927FF1D6AEA25--