[SLE] Apache mod_userdir = 403 forbidden :-(
Hi, Anyone know how to get Apache's mod_userdir for http://localhost/~username to work in 6.4? The default directory for the user's page is ~/public_html/ but all I get is 403 forbidden on access attempts. I assume it's a user/group issue, but I'm not sure. It should work with the default config but doesn't for some reason. I've done this fine 2/3 times on Slackware but I'm stuck here :-P Any ideas as I've been asked this one by 5 avid SuSE 6.4 users now? Cheers, ----------------------------------------------------------- Chris Smith IS Dept - Raytheon Systems Limited [chris.smith@raytheon.co.uk] +44 1279 407 103 =========================================================== -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Chris.Smith@raytheon.co.uk tapped away at the keyboard with:
Anyone know how to get Apache's mod_userdir for
to work in 6.4? The default directory for the user's page is ~/public_html/ but all I get is 403 forbidden on access attempts. I assume it's a user/group issue, but I'm not sure. It should work with the default config but doesn't for some reason. I've done this fine 2/3 times on Slackware but I'm stuck here :-P
I presume that you know about .htaccess in ~/public_html Check the permissions on ~ You'll probably need to chmod go+x ~. Before you do, consider the security aspects. Although not everybody may be able to read the directory, they will still know some filenames in there. One approach may be to have your real working home directory in a sub-directory and the "standard" files like .profile very well protected. -- Bernd Felsche - Innovative Reckoning Perth, Western Australia -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
open /etc/httpd/httpd.conf and change the following: <Directory /> --- bla bla --- Options -FollowSymLinks --- bla bla --- </Directory> to <Directory /> --- bla bla --- Options FollowSymLinks ExecCGI # ExecCGI is optional (if u want --- bla bla --- # cgi scripts) </Directory> N Chris.Smith@raytheon.co.uk wrote:
Hi,
Anyone know how to get Apache's mod_userdir for
to work in 6.4? The default directory for the user's page is ~/public_html/ but all I get is 403 forbidden on access attempts. I assume it's a user/group issue, but I'm not sure. It should work with the default config but doesn't for some reason. I've done this fine 2/3 times on Slackware but I'm stuck here :-P
Any ideas as I've been asked this one by 5 avid SuSE 6.4 users now?
Cheers,
----------------------------------------------------------- Chris Smith IS Dept - Raytheon Systems Limited [chris.smith@raytheon.co.uk] +44 1279 407 103 ===========================================================
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (3)
-
bernie@innovative.iinet.net.au
-
Chris.Smith@raytheon.co.uk
-
mcmxc@freemail.gr