An Apache 2.4 server with a few missing modules can show the following error in your logs.
[core:alert] [pid 1234] [client 10.10.5.1:23801] /var/www/vhosts/site.tld/htdocs/.htaccess: Unknown Authz provider: ip, referer:
It’s this kind of config that triggers it, either in your vhost configurations or in your .htaccess files.
<IfModule mod_authz_core.c> <RequireAll> Require all granted ... Require not ip 10.50.20.5 </RequireAll> </IfModule>
The idea is to use IP addresses as a means of allowing/blocking access to a particular vhost.
In order for this to work, you have to load the “host” module in Apache 2.4.
To fix this, add the following in your general httpd.conf file.
$ cat /etc/httpd/conf/httpd.conf ... LoadModule authz_host_module modules/mod_authz_host.so
Reload your Apache and access control based on IP will work again.