Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-25 Thread Programmer In Training
On 02/19/10 03:05, Matthew Seaman wrote: On 18/02/2010 21:26, Programmer In Training wrote: snip Possibly not the most secure permissions but I don't remember the default (I think it's 644). Nope. For directories it's 755. You need the x permission on a directory to chdir to it. I

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

2010-02-20 Thread Programmer In Training
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:

Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-19 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/02/2010 21:26, Programmer In Training wrote: On 02/18/10 14:54, Craig Whipp wrote: snip What are the permissions for your $HOME and $HOME/public_html? The user that apache is running as must be able read from these directories. - Craig

Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-19 Thread Ian Smith
In freebsd-questions Digest, Vol 298, Issue 8, Message: 3 On Thu, 18 Feb 2010 15:26:58 -0600 Programmer In Training p...@joseph-a-nagy-jr.us wrote: On 02/18/10 14:54, Craig Whipp wrote: snip What are the permissions for your $HOME and $HOME/public_html? The user that apache is running

User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Programmer In Training
I am using the non-ports version of Apache. I downloaded 2.2.14 from http://httpd.apache.org/download.cgi#apache22 just a little while ago. I compiled, installed, got it running with minimal fuss. The issue is with my user directories (e.g. $HOME/public_html ). I uncommented the line to include

Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Chuck Swiger
Hi-- On Feb 18, 2010, at 11:10 AM, Programmer In Training wrote: Am I just having a case of the stupids here? It has been a few years since I've managed Apache even for local testing. I've also adjusted the permissions for that directory with no change. Also, the log files show Apache going

Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Programmer In Training
On 02/18/10 13:21, Chuck Swiger wrote: snip Apache is going to look up the home directories specified in /etc/passwd via getpwent() or similar. If allowed, it would chase a Then it shouldn't even bother with having a setting for specifying the path to user directories (or at least that

Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Chuck Swiger
Hi-- On Feb 18, 2010, at 11:31 AM, Programmer In Training wrote: On 02/18/10 13:21, Chuck Swiger wrote: snip Apache is going to look up the home directories specified in /etc/passwd via getpwent() or similar. If allowed, it would chase a Then it shouldn't even bother with having a setting

Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Programmer In Training
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: http://httpd.apache.org/docs/2.2/mod/mod_userdir.html It's possible that using:

Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Programmer In Training
On 02/18/10 14:54, Craig Whipp wrote: snip What are the permissions for your $HOME and $HOME/public_html? The user that apache is running as must be able read from these directories. - Craig drwxr-xr-x 49 user1 user1 1536 Feb 18 14:31 user1/ drwxr-xr-x 18 user1 user1 2560 Feb 14

Re: User Directories On FreeBSD 8.0-RELEASE

2010-02-18 Thread Jerry McAllister
On Thu, Feb 18, 2010 at 02:09:20PM -0600, Programmer In Training wrote: 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: