AH01626:要求所有授权的授权结果:已授予

时间:2015-11-14 03:56:03

标签: apache mod-auth mod-authz-host

我在我的网站上运行apache 2.4.6。我在apache错误日志中一遍又一遍地看到这条消息。

[Tue Nov 10 01:42:40.659710 2015] [authz_core:debug] [pid 10727] mod_authz_core.c(809): [client 107.170.139.115:58678] AH01626: authorization result of Require all granted: granted

以下是VHOST中列出此站点的根目录的方法:

    DocumentRoot /var/www/jf-beta
    <Directory /var/www/jf-beta>
      Options  -Indexes  +FollowSymLinks
      AllowOverride All
      Require all granted
    </Directory>

Apache究竟在抱怨什么?那个目录列表对我来说似乎很合理!我如何让它停止抱怨这个错误?

1 个答案:

答案 0 :(得分:18)

这不是错误,也不是抱怨的抱怨。如果仔细查看日志语句,它会说:

[<date>] [authz_core:debug] [pid 10727] <stuff>

请注意, authz_core:debug 。这意味着您已将LogLevel指令设置为debug。将值更改为errorwarn,您将不再看到已记录的语句。

相关问题