I'm playing around with the UserDir function in apache: http://httpd.apache.org/docs/2.0/mod/mod_userdir.html
Here is my configuration:
<IfModule mod_userdir.c>
UserDir enabled user
UserDir public_html
</IfModule>
<Directory "/home/*/public_html">
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes
Allow from all
Order deny,allow
</Directory
It kept generating a 403 errror access denied. It wasn't until I added executable on /home/user directory:
chmod 711 /home/user
The public_html already had o+r which was logical for the apache user to read the contents, but why would executable need to be added on the base folder?
It's all working. I'm just curious as to why this is the case.
The executable bit on a directory determines permissions for directory traversal.
According to the FAQ
This is just the nature of being able to open directories to get to the files.