![]() |
|
UserDir - kept getting 403 Forbidden - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html) +--- Forum: LAMP (https://www.linux-noob.com/forums/forum-83.html) +--- Thread: UserDir - kept getting 403 Forbidden (/thread-3698.html) |
UserDir - kept getting 403 Forbidden - Oroshi - 2004-01-23 hello, My apache works fine for /var/www/html. so i want to make UserDir, /home/*/public_html userdir mod. Code: <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 "enabled *"
UserDir "disabled root"
#
# To enable requests to /~user/ to serve the user's public_html
# directory, use this directive instead of "UserDir disable":
#
UserDir public_html
</IfModule>Directory Code: <Directory "/home/*/public_html">
Options Indexes Includes FollowSymLinks
AllowOverride None
Allow from all
Order deny,allow
</Directory>
<Directory "/home/*/public_html/cgi-bin">
Options ExecCGI
SetHandler cgi-script
</Directory>public_html's chmod are: 775 it still Forbidden 403. is there is anything i must've missed out? or it need to change something? it would be appreciate if you could help me out. UserDir - kept getting 403 Forbidden - hijinks - 2004-01-23 chmod 711 /home/user by default RH has the home dir's chmod to 700 and the apache user needs at least --x access to get into and dirs about the public_html dir UserDir - kept getting 403 Forbidden - Oroshi - 2004-01-23 ahh of course, i'm idiot! lol. i chmod the public_html as 755. but it had to chmod on home dir... thanks mate! :) |