Date: Thu, 18 Feb 2010 14:09:20 -0600 From: Programmer In Training <pit@joseph-a-nagy-jr.us> To: freebsd-questions@freebsd.org Subject: Re: User Directories On FreeBSD 8.0-RELEASE Message-ID: <4B7D9E70.80601@joseph-a-nagy-jr.us> In-Reply-To: <B9BC0A5B-2C09-4D1D-ADA4-F58040504997@mac.com> References: <4B7D90BC.10901@joseph-a-nagy-jr.us> <FF869108-0743-46E5-9DA2-4AC40A27DD31@mac.com> <4B7D95A8.5000206@joseph-a-nagy-jr.us> <B9BC0A5B-2C09-4D1D-ADA4-F58040504997@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <snip> > 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. <snip> >> 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? <snip> 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. # <Directory /usr/home/*/public_html> AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes FollowSymlinks SymLinksIfOwnerMatch IncludesNoExec <Limit GET POST OPTIONS> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS> Order deny,allow Deny from all </LimitExcept> </Directory> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B7D9E70.80601>