我正在运行Apache作为www-data ,我已经chown /usr/local/apache/htdocs (文档根)到这个用户+它的组,但是当我试图访问它时,Apache给了我一个403。
有什么我在这里失踪?
我正在运行一个由最新的稳定tarball(2.4.4)安装的新鲜Apache,configuration了:
./configure --enable-vhost-alias --enable-proxy --enable-mimemagic --enable-rewrite --enable-so --with-included-apr
谢谢
事实certificate,这是由于2.4的访问控制与2.2的方式,在我需要改变的虚拟机指令:
Order allow,deny Allow from all
至:
Require all granted
请参阅: http : //httpd.apache.org/docs/2.4/upgrading.html#run-time