Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2010 08:05:41 -0600
From:      Programmer In Training <pit@joseph-a-nagy-jr.us>
To:        freebsd-questions@freebsd.org
Subject:   [SOLVED]Re: User Directories On FreeBSD 8.0-RELEASE
Message-ID:  <4B7FEC35.1050509@joseph-a-nagy-jr.us>
In-Reply-To: <20100220173427.E47158@sola.nimnet.asn.au>
References:  <20100219113921.BEF7610656FB@hub.freebsd.org> <20100220173427.E47158@sola.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Directory /usr/home/user1/public_html> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B7FEC35.1050509>