title: apache cannot access public_html on CIFS
body: <p>I have my computer on network, and whole homedir is mounted at login with CIFS. When I access <a href="http://localhost" rel="nofollow">http://localhost</a> everything works fine, but when I access <a href="http://localhost/~user" rel="nofollow">http://localhost/~user</a> it fails.</p>
  
  <pre><code># cat /etc/mtab
  .....
  //192.168.1.5/user/ /home/user cifs rw,mand 0 0
  
  
  ls -l
  ...
  drwxrwxrwx  37 user domain users         0 2011-12-22 09:12 public_html
  </code></pre>
  
  <p>The browser say:</p>
  
  <pre><code>Forbidden
  You don't have permission to access /~lluisforns on this server.
  </code></pre>
  
  <p>And apache say</p>
  
  <pre><code> cat /var/log/apache2/error.log
   [Thu Dec 22 18:19:09 2011] [error] [client 127.0.0.1] (13)Permission denied: access to /~lluisforns denied
  </code></pre>
  
  <p>Any idea?</p>