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