Score:0

Why does Apache log errors for correctly blocked requests? [authz_core:error] AH01630: client denied by server configuration

cn flag

I have added the following configuration to .htaccess, which correctly causes 403 responses to be sent to the blocked IPs.

<RequireAll>
    Require all granted
    Require not ip 0.0.0.0 # abusive IP address
</RequireAll>

However, this causes the following to be recorded in the error log:

[Sun Nov 28 19:11:29.878359 2021] [authz_core:error] [pid 96469] [client 0.0.0.0:33112] AH01630: client denied by server configuration: /path/to/file

What is causing authz_core to log this as an error, considering the request is being correctly blocked, thus not an error? And is there a way to turn it off?

vidarlo avatar
ar flag
It resulted in a HTTP error: 403.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.