3
启用了Apache2 userdir,但仍然无权访问
我试图在我的Kubuntu 13.04笔记本电脑上设置一个apache服务器。我已经安装了apache2软件包和sudo a2enmod userdir; sudo service apache2 restart,但是当我访问时http://localhost/~user,仍然显示类似以下内容: Forbidden You don't have permission to access /~user on this server. Apache/2.2.22 (Ubuntu) Server at localhost Port 80 的结果 tail /var/log/apache2/access.log 127.0.0.1 - - [02/Aug/2013:16:22:01 +0200] "GET /favicon.ico HTTP/1.1" 404 498 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36" …