我的计算机在网络上,并且整个 homedir 都在使用 CIFS 登录时安装。当我访问http://localhost时,一切正常,但是当我访问http://localhost/~user时,它失败了。
# 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
浏览器说:
Forbidden
You don't have permission to access /~lluisforns on this server.
阿帕奇说
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
任何想法?