The home dir should have "x" bit on for others and the public_html file
should be accessible by apache
FYI apache runs as nobody .
Hence this file should be readable by the user nobody or group nobody
try chgrp nobody public_html
chmod 750 public_html
then it will still work

Hence consider making the scripts accessible to nobody or any user that
apache runs as

HTH


Sandesh Rao
Database Administrator (NSE)
ph : (off) 4940701 (res) 3855353



> On Aug 21, 1999 at 11:34, Kiran Jonnalagadda wrote:
>
> > > I had the same problem this evening, AmitC solved it. the /home/user
dir
> > > must be o+x.
> > > If anyone else has better suggestions, please post them.
> > You must also have an index file in the public_html directory. Without
that,
> > you'll get an access forbidden message when you try to access
> > locathost/~user.
>
> Ok, I just tested this. Started with /~foo with permissions 755.
> Accessible. Made them 751. Accessible. Made them 750. 403.
>
> Directory of /~foo:
> [root]/home# ls -l foo/public_html/in*
> -rw-r--r--   1 foo      users         240 Aug  4 19:57
> foo/public_html/index.html
>
>
> --
> Satya.
> Freelance website designer and CGI/Perl programmer.
> http://satyaonline.cjb.net/
>
>

Reply via email to