You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Covener <co...@gmail.com> on 2010/02/19 16:11:54 UTC

Re: [users@httpd] [SOLVED]Re: [users@httpd] User Directories On FreeBSD 8.0-RELEASE

On Fri, Feb 19, 2010 at 10:10 AM, Programmer In Training
<pi...@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?

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] [SOLVED]Re: [users@httpd] User Directories On FreeBSD 8.0-RELEASE

Posted by Programmer In Training <pi...@joseph-a-nagy-jr.us>.
On 02/19/10 09:11, Eric Covener wrote:
> On Fri, Feb 19, 2010 at 10:10 AM, Programmer In Training
> <pi...@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.