CentOS 7.3, Apache 2.4.6, Plesk 17.0.17
I found this article but it is not 100% clear as to how I could also ensure that certain addresses are denied.
IPv6 address in .htaccess is ignored
Currently have the following in .htaccess. I am looking to block all IPs except certain ipv4 and ipv6 addresses.
Error log shows: client denied by server configuration
Can someone show me how that would translate please? Thank you
I found this article but it is not 100% clear as to how I could also ensure that certain addresses are denied.
IPv6 address in .htaccess is ignored
Currently have the following in .htaccess. I am looking to block all IPs except certain ipv4 and ipv6 addresses.
Code:
<RequireAll>
Require all denied
Require ip 1234:1234:1234::/48
Require ip 1234:1234:1234:1234::/32
Require ip 1.2.3.0/24
Require ip 4.5.0.0/16
</RequireAll>
Error log shows: client denied by server configuration
Can someone show me how that would translate please? Thank you