I've my computer on network, and whole homedir is mounted at login with CIFS. After I access http://localhost everything works fine, however when I access http://localhost/~user it fails.

# cat /etc/mtab
// /home/user cifs rw,mand 0 0

ls -l
drwxrwxrwx  37 user domain users         0 2011-12-22 09:12 public_html

The browser say:

You don't have permission to access /~lluisforns on this server.

And apache say

 cat /var/log/apache2/error.log
 [Thu Dec 22 18:19:09 2011] [error] [client] (13)Permission denied: access to /~lluisforns denied

Any idea?