mod_userdir / public_html on SuSE 7
From: Chris.Smith@raytheon.co.uk Date: Thu, 16 Nov 2000 16:17:11 +0000 Message-Id: <OF827A2FE9.0C9A022E-ON80256999.0058FC1C@raytheon.co.uk> Subject: mod_userdir / public_html on SuSE 7 Hi, This doesnt work by default on SuSE 7 but seems to be enabled in httpd.conf. Any ideas how to get it to work how it should? I've been trying http://localhost/~chris as per normal (my username is chris) but I get a 403 forbidden error. If it's perms, can someone tell me what they should be. I have created the directory public_html in my home dir and created a valid index.html file before anyone even suggests trying that :) Cheers, - Chris.
Message-Id: <4.3.2.7.0.20001116112614.03950260@claborn.net> Date: Thu, 16 Nov 2000 11:28:55 -0600 From: wilson@claborn.net (Jonathan Wilson) Subject: Re: [SLE] mod_userdir / public_html on SuSE 7 It is perms. You have to have 0+x on both your home dir AND the ~/public_html dir. However you do need, and do not want, world read or write on the dirs. The files inside ~/public_html need to be o+r, but should NOT be o+xw, unless you have CGIs in there, which may possibly need x. Hope that helps JW At 04:17 PM 11/16/2000 +0000, you wrote:
Hi,
This doesnt work by default on SuSE 7 but seems to be enabled in httpd.conf. Any ideas how to get it to work how it should?
I've been trying http://localhost/~chris as per normal (my username is chris) but I get a 403 forbidden error. If it's perms, can someone tell me what they should be.
I have created the directory public_html in my home dir and created a valid index.html file before anyone even suggests trying that :)
Cheers,
- Chris.
-- 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
From: Phantasm <phantasm@triad.rr.com> Date: Thu, 16 Nov 2000 14:10:03 -0500 Message-Id: <00111614154001.00596@office> Subject: Re: [SLE] mod_userdir / public_html on SuSE 7 Its the directory permissions set on the home directory make sure /home/usr/public_html is there and then set /home/user to 700 then set everything in there to 711 and then public_html to 755 I use this script to do it for me #***************************************** #*** Webit web permissions script *** #****************************************** chmod 700 $1 && cd $1 && chmod 711 . && chmod 755 ./public_html #****end**** Then you can do webit /home/username and its set for ya ~Robert On Thu, 16 Nov 2000, Chris.Smith@raytheon.co.uk wrote:
Hi,
This doesnt work by default on SuSE 7 but seems to be enabled in httpd.conf. Any ideas how to get it to work how it should?
I've been trying http://localhost/~chris as per normal (my username is chris) but I get a 403 forbidden error. If it's perms, can someone tell me what they should be.
I have created the directory public_html in my home dir and created a valid index.html file before anyone even suggests trying that :)
Cheers,
- Chris.
-- 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)
-
Chris.Smith@raytheon.co.uk
-
phantasm@triad.rr.com
-
wilson@claborn.net