I am having trouble with blocking an IP in .htaccess
I've put
Require not ip 192.168.20.218
It works, but it blocks the entire network instead of blocking a single IP.
Can somebody solve this issue?
I am running on Apache 2.4 using Ubuntu 14.04.3 LTS
UPDATE: scenario is like this, I am using IP 192.168.20.218
on my computer, I am trying to do a test to block this IP address, I tried:
<RequireAll>
Require all granted
Require not ip 192.168.20.218
</RequireAll>
Which is supposed to block my access, but instead it's still allowing me to access the page. If I take out the Require all granted
it blocks the entire network.