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.

你可能感兴趣的:(apache)