TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:7400] public_html access
> I'm doing some web development at home and I'm trying to use a public_html
> folder in my home directory. Whenever I try to access my page by typing
> this:
>
> http://localhost/~wilson
>
> I get an error saything that I don't have permission to access that
> directory. Since I'm trying to get at my own directory and since the same
> thing happens as root, I assuming that the problem lies in the Apache
> config. Anybody seen this before?
Your $HOME/public_html directory is probably not world-readable. Apache usually
runs as user 'nobody'. This is safer than running as root, but it means the
server can't read everything.
'chmod 644 $HOME $HOME/public_html' should do the trick..
--
_ _ _ _ _ ___ _ _ _ ___ _ _ __ Remember that you are
/ \/ \(_)| ' // ._\ / - \(_)/ ./| ' /(__ unique. Just like
\_||_/|_||_|_\\___/ \_-_/|_|\__\|_|_\ __) everyone else.
[ Mike Hicks | http://umn.edu/~hick0088 | mailto:hick0088@tc.umn.edu ]