When testing viewing index.php under a user directory, I kept getting this error:
in the log: client denied by server configuration
On the browser: Permission denied: access to /index.php denied
Feeling puzzled aftering trying to set the directory permission, I found this post and it really helped me out.
In the default directory configuration, it looks like this:
Deny from all
It is very restrictive and essentially denies everything.
Now what I need to do is to add this in my virtual host session:
Allow from all
That fixed the issue.