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 symlink
>> to /usr/home -- it's the path returned from the passwd file that apache
>> uses for comparison, long before trying to resolve any symlinks and open
>> 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.

-- 
Yours In Christ,

PIT
Emails are not formal business letters, whatever businesses may want.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to