apache httpd新版本virtualhost报403错误的解决办法
Posted On 2015年1月24日
原因是httpd最新版本加强了安全性的一些特性。
如果为了方便,我们则可以把/目录的设置为 allow from all, require all granted。
改后,重启apache的httpd服务,则就正常了。 / (根目录)可以改为你想开放的目录即可。
<Directory “/”>
Order allow,deny
Allow from all
Require all granted
</Directory>
更多资料参见官方
http://httpd.apache.org/docs/current/mod/core.html#directory
此篇文章已被阅读2289 次