apache 2.4权限控制

Posted by Joseph Han on 2014-07-17

转载请注明来源:Blog of Joseph Han

Ubuntu 14.04中的apache版本为2.4,权限配置配置于原来的2.2有区别,具体内容在
http://httpd.apache.org/docs/2.4/upgrading.html

apache 2.2下的
Order allow,deny
Allow from all

要改为:
Require all granted

否则会报错误:
apache client denied by server configuration: /xxx/xxx