AH01626: authorization result of Require all granted: granted

白昼怎懂夜的黑 提交于 2020-01-13 08:28:27

问题


I'm running apache 2.4.6 on my site. And I keep seeing this message repeated over and over again in my apache error logs.

[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

Here's how the root directory for this site is listed in the VHOST:

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

Exactly what is Apache complaining about here? That directory listing seems perfectly reasonable to me! And how do I get it to stop complaining about this error?


回答1:


It is not an error, nor is apache complaining about it. If you look closely at the log statement, it says:

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

Notice that there's authz_core:debug. It means that you have set the LogLevel directive to debug. Change the value to error or warn and you'll stop seeing the logged statement anymore.



来源:https://stackoverflow.com/questions/33704934/ah01626-authorization-result-of-require-all-granted-granted

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!