在apache 2.4里,访问权限配置与2.2不同,如果设置不对,则会报403错误,日志中会报 AH01630: client denied by server configuration. [Sun Aug 27 19:01:37.591240 2017] [authz_core:error] [pid 16] [client 172.17.0.1:55766] AH01630: client denied by server configuration: /var/www/html/do…
apache的<directory> </directory>语句,查考如下: 如何访问根目录下的目录http://192.168.1.12/test/ 第一.缺省apache不允许访问http目录(没有<Directory >定义,就没有访问权限) 访问目录http://192.168.1.12/test/会显示:ForbiddenYou don't have permission to access /test/ on this server. 第二.无限制…