The default home directory settings on RedHat are 700, which means that
only the owner can see what's in it, or any of it's subdirectories.
This includes the public_html subdirectory. To make the public_html
directory available to the web server, you have to give everyone some
minimal access to your home directory, e.g. 701, I believe. This is a
security risk, because then you have to keep track of the permissions on
all your subdirs to make sure nobody can get to them. Personally, I
keep a subdirectory in /home/httpd with each user having a directory
there. If you make a symlink in your home directory, it's not any less
convenient, either.
-BVG
Don Harrop wrote:
>
> I've been trying to get the user web pages working for Apache on my RH 6.1
> install. As far as I know the only option for makeing sure this works is in
> the srm.conf.. (I guess access.conf and srm.conf can be inserted into the
> httpd.conf and still work fine) Just set the UserDir to a directory like
> public_html and then when a ~user request is sent over http it looks in that
> directory of whichever user was entered. I keep getting access denied
> errors though. As far as I know the module in apache used to do this is
> installed and setup. I keep thinking that there's another option in the
> httpd.conf file (or other files) that I'm missing. Is that the case..
>
> Don
>
> Starved for knowledge, fed by an OS that provides it.... not hides it!
>
> _______________________________________________
> Plug-discuss mailing list - Plug-discuss@lists.PLUG.phoenix.az.us
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss