Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

mod_userdir 403 error

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
MSN bot and 406 error - I have set up an site using language works fine, except for MSN bot (MSN crawler): when this robot hits my PHP pages (I have two contact forms written in PHP), it gets a 406 HTTP error. I checked..

error 403 in 2.0.49 but not in 2.0.40 - hello one and all, i was using redhat9 which had apache 2.0.40 and i just upgraded my server to fedora 2 which has apache 2.0.49. i copied my file over to the new server expecting it to work and it sort of does. as long as there is an..

error.log - Hi, I still can't get my apache2 running though I read the manual ping localhost works - (or shows an 404 error. Below I copied the Can anybody tell me, what's going wrong? Thanks in advance Frank ..

404 Error - I'm new to Apache and have checked on Google and cannot find the answer to the error 404 that I receive when running Apache to the localhost port. I have an file in the I've set the for 755 for the file and..

500 error with é - Hello all, i've installed Apache 2 with PHP, but when a textbox send a text with an i receive a 500 error, what running wrong in my
Next:  Apache: apache 1.3.28, mod_gzip 1.3.26a  
Author Message
user2744

External


Since: Apr 12, 2004
Posts: 2



(Msg. 1) Posted: Tue Nov 09, 2004 12:13 am
Post subject: mod_userdir 403 error
Archived from groups: alt>apache>configuration (more info?)

I have just setup web space for each user on a system using mod_userdir..

I set it up by uncommenting the default setup in the httpd.conf file
that comes with FC2..So effectively the settings are..

<IfModule mod_userdir.c>
UserDir public_html
</IfModule>

<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>

Initially it didn't work and gave a 403 error which said to me it was
permission related..

The only way I could think of to get around it was to put the Apache
user into each user's group and then make sure the home directory had
770 directory permissions.

The default home directory permission is 700.

Have I done the right thing?
Did I get my config wrong?
Is there any real security problem with the way I have done it?
Is there a better (more secure) way of giving each user their own webspace?

Thanks..

 >> Stay informed about: mod_userdir 403 error 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 2) Posted: Tue Nov 09, 2004 1:35 am
Post subject: Re: mod_userdir 403 error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Me" <Me.RemoveThis@here.com> schreef in bericht
news:41900bb9$0$27534$db0fefd9@news.zen.co.uk...
 > Initially it didn't work and gave a 403 error which said to me it was
 > permission related..
 >
 > The only way I could think of to get around it was to put the Apache
 > user into each user's group and then make sure the home directory had
 > 770 directory permissions.
Most common practise is to NOT make apache member of any groups and have
apache run as special user in a special group; name of both will probably
vary per distribution.
 >
 > The default home directory permission is 700.
As the digits represent the right per user, group members and others,
setting the right hand digit to
1 for files
5 for scripts
7 for folders
should give 'the world' -being all users unkown- access well limited to
their needs.

HansH<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: mod_userdir 403 error 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]