From owner-freebsd-questions@FreeBSD.ORG Thu Feb 18 20:09:24 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 34108106566B for ; Thu, 18 Feb 2010 20:09:24 +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 016868FC1A for ; Thu, 18 Feb 2010 20:09:23 +0000 (UTC) Received: (qmail 4024 invoked by uid 0); 18 Feb 2010 20:09:23 -0000 Received: from unknown (HELO box264.bluehost.com) (69.89.31.64) by cpoproxy1.bluehost.com with SMTP; 18 Feb 2010 20:09:23 -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=MzCC++GSnXoyxAFhilDWdDUga1jgmVLtPqwDImTVftuqtswMgbzVCzNDS+wx3ewP4PXOa9hLzzEk8RcWZQcxKObMNmJTEsMcf4z1n0ou1WTMeE4iCKKGRZzhPN/cxqCh; 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 1NiCgd-0001EQ-42 for freebsd-questions@freebsd.org; Thu, 18 Feb 2010 13:09:23 -0700 Message-ID: <4B7D9E70.80601@joseph-a-nagy-jr.us> Date: Thu, 18 Feb 2010 14:09:20 -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: <4B7D90BC.10901@joseph-a-nagy-jr.us> <4B7D95A8.5000206@joseph-a-nagy-jr.us> In-Reply-To: X-Enigmail-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig82AFBE9242BE2FD8EC8AE3FD" 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: 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 20:09:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig82AFBE9242BE2FD8EC8AE3FD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/18/10 13:46, Chuck Swiger wrote: > 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: >=20 > http://httpd.apache.org/docs/2.2/mod/mod_userdir.html >=20 > It's possible that using: >=20 > UserDir /usr/home/*/public_html >=20 > ....will do better, if that is the actual path being used. That's what I have it set to and it isn't honoring that. That's part of what is bothering me (and what I suspect the issue might be). >> See, now that's helpful. Thank you. No one suggested that. Will add >> it and see if that changes anything. >=20 > 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. I did, but now I have both in the httpd-userdir.conf to no avail, same with main conf. >> I rolled my own because I couldn't even get Apache from ports to >> start with the default http.conf file provided. >=20 > Hmm, unexpected. What did apachectl configtest say? I don't remember, but I was so frustrated I wasn't really paying that much attention (it's been a month since I tried ports Apache). Alright, here is the errors I'm getting (I set the loglevel to debug instead of just warn): [Thu Feb 18 14:01:01 2010] [notice] Apache/2.2.14 (Unix) configured -- resuming normal operations [Thu Feb 18 14:01:01 2010] [info] Server built: Feb 13 2010 06:46:20 [Thu Feb 18 14:01:01 2010] [debug] prefork.c(1013): AcceptMutex: flock (default: flock) <--- not sure what that is all about [Thu Feb 18 14:01:08 2010] [error] [client 127.0.0.1] client denied by server configuration: /home/user1/public_html [Thu Feb 18 14:01:10 2010] [error] [client 127.0.0.1] client denied by server configuration: /home/user1/public_html UserDir file configuration: UserDir disabled UserDir enabled user1 user2 ^^^^^<--- Those options as per the UserDir section in the manual, just added them not two minutes before typing this out UserDir public_html # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes FollowSymlinks SymLinksIfOwnerMatch IncludesNoExec Order allow,deny Allow from all Order deny,allow Deny from all This really stinks. Is Apache 1.13 available? I don't remember having these problems with it. --=20 Yours In Christ, PIT Emails are not formal business letters, whatever businesses may want. --------------enig82AFBE9242BE2FD8EC8AE3FD 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) iQEcBAEBAgAGBQJLfZ6DAAoJEENZQ8DH7rW033oH/RsWKDji7X1/5D4ev7hZ7+kz bSmSqNC4/YkF57QoKdf0Ov0d/ovK9M1zoZ10s/jSYExtDmuHmePYgV3IAfhrmXkt 4A1cg/swuXuf/zhoqEBI2nZGCf2PgmgscdKunVPGg19k77U8aWU3ycPUP3sq7yT/ 6ecR7BMP/cte58IortKs7UxG5SggzV3Dy3s2mbh+OCLTDD1EuHGrtRa3UiXmg+pp Zi1SOEmTJtQwz88pXpuulw+ex9KUFYVYjXhuChDoBak7XzM3si+K27D6B4cAHzvc ZOjhaSJHOVejqe/qAshey0K9/TL8cSJWyAiyL9VcZGLQF5AcAaa3+ch9MR+dhZU= =9V/S -----END PGP SIGNATURE----- --------------enig82AFBE9242BE2FD8EC8AE3FD--