user's personal homepage

Shams shams at orcon.net.nz
Sat Mar 10 13:20:09 UTC 2007


Hi,

The reabable and executable bits for the directories that apache
needs access to, in this case:

chmod a+rx /home/user
chmod a+rx /home/user/public_html

Otherwise you will get the 403.

Thanks
Shams

-- 

"Manuel Arostegui Ramirez" <manuel at todo-linux.com> wrote in message 
news:200703101353.37763.manuel at todo-linux.com...
El Sábado, 10 de Marzo de 2007 13:48, KP escribió:
> > KP wrote:
> >>> KP a écrit :
> >>>> Hi
> >>>>
> >>>> On my fedora 5 box, I want to enable personal homepage to all of my
> >>>> users. Can any1 guide me please.
> >>>
> >>> in /etc/httpd/conf/httpd.conf, see this section:
> >>>
> >>> <IfModule mod_userdir.c>
> >>>     #
> >>>     # UserDir is disabled by default since it can confirm the presence
> >>>     # of a username on the system (depending on home directory
> >>>     # permissions).
> >>>     #
> >>>     #UserDir disable
> >>>
> >>>     #
> >>>     # To enable requests to /~user/ to serve the user's public_html
> >>>     # directory, remove the "UserDir disable" line above, and 
> >>> uncomment
> >>>     # the following line instead:
> >>>     #
> >>>     UserDir public_html
> >>>
> >>> </IfModule>
> >>>
> >>> And don't forget to restart service httpd !!
> >>
> >> I did as you redirected. But still no directories created for the users
> >> i creat. Do I need to creat the directories manually??
> >
> > yes or you could modify etc/skel - which would only work for new users,
> > not preexisting ones though
>
> Hey Thanx, its working now. But when I send request from my webbroser its
> throws the error "403, Forbidden" ????
>
> KP

That's a very common problem check your /home/user/ perms and make sure the
apache users o whoever you run apache with is able to read the whole PATH ,
not only the /home/user/public_html/

All the best.
-- 
Manuel Arostegui Ramirez.

Electronic Mail is not secure, may not be read every day, and should not
be used for urgent or sensitive issues.

-- 
fedora-list mailing list
fedora-list at redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list






More information about the fedora-list mailing list