apache 2.4目录权限

apache 2.4 好象不再支持以下指令。。。
Order allow,deny
Allow from all

用上面的指令访问页面时显示错误:client denied by server configuration
改用
Require all granted
#Access is allowed unconditionally.

就正常了。查了一下还有一个命令:
Require all denied
#Access is denied unconditionally.

原文地址:https://www.cnblogs.com/weekend001/p/3964052.html