问题
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