On Fri, Feb 15, 2002 at 12:42:03PM -0500, Mark Komarinski <[EMAIL PROTECTED]> 
wrote:
> On Fri, Feb 15, 2002 at 12:28:23PM -0500, Jack Hodgson wrote:
> > Hmmm. Last night I became suspicious that this might be a permissions 
> > problem. I confess that permissions is an aspect of linux/unix that 
> > I've always been a little fuzzy on, so I spent last night trying to 
> > learn more on that. But I'm not there yet.
> >
> You do need to have +x on all directories leading up to the directory
> that Apache wants access to.  You don't need +r on /home/foo, for example, but
> you do need +x.  And make sure you have +rx on /home/foo/www or
> /home/foo/public_html or whatever.

    Don't "chmod +rx" your www or public_html unless you're sure that's
what you want.  Depending on your Apache configuration, that may allow
a web browser or another user on the same system to get a listing of all
files in your directory.  If you don't want to allow that "+x" should
suffice.

    That said, be sure that your scripts are "a+rx".  Scripts are not
executable in themselves; they need to be read by the Perl interpreter.
Thus, scripts must be both readable and executable, while compiled
programs can be simply executable.

-- 
Bob Bell                Compaq Computer Corporation
Software Engineer       110 Spit Brook Rd - ZKO3-3/U14
TruCluster Group        Nashua, NH 03062-2698
[EMAIL PROTECTED]     603-884-0595

*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to