httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Programmer In Training <...@joseph-a-nagy-jr.us>
Subject Re: [users@httpd] [SOLVED]Re: [users@httpd] User Directories On FreeBSD 8.0-RELEASE
Date Fri, 19 Feb 2010 15:23:26 GMT
On 02/19/10 09:11, Eric Covener wrote:
> On Fri, Feb 19, 2010 at 10:10 AM, Programmer In Training
> <pit@joseph-a-nagy-jr.us> wrote:
>> Just thought I'd let you folks know that this was resolved (I took the
>> question to the FreeBSD mailing list because I believed it to be a
>> problem with the OS, turns out it was and it wasn't).
> 
> Can you share the resolution, for archive/search purposes?
> 

Yes, despite /home being a symlink to /usr/home on my system, Apache
apparently looks at "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." (quoted from
the user on the FreeBSD list who explained this to me).

Also, making sure SymLinksIfOwnerMatch and FollowSymLinks is in your
conf files in the appropriate places probably won't hurt.

So based on the above I set
<Directory "/usr/home/*/public_html">

Back to
<Directory "/home/*/public_html">

My confusion in solving this problem was with regard to where Apache
first looks for the directory path. Had I known the above I would have
never set it to /usr/home/*/public_html

Thank you all for your help. It was much appreciated.
-- 
Yours In Christ,

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


Mime
View raw message