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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux