Re: user's personal homepage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx> wrote in message 
news:200703101353.37763.manuel@xxxxxxxxxxxxxxxxx
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@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux