title: Apache 2.4 require not ip range not working (blacklist ignored when GEOIP active)
body: <p>I'm trying to understand what's going on. If i add a single IP to my blacklist using</p>
  
  <pre><code>Require not ip xxx.xxx.xxx.xxx
  </code></pre>
  
  <p>It just works, Apache 2.4 throws a 403. Now i've tried to use the whole range and it still let the request go through. I used:</p>
  
  <pre><code>Require not ip xxx.xxx.xxx.1 xxx.xxx.xxx.255
  </code></pre>
  
  <p>Apache 2.4 returns 200 instead of 403. What am i doing wrong?</p>
  
  <p>Thanks</p>
  
  <p><strong>Edit</strong>:
  Here's a simple test case from my local network.</p>
  
  <pre><code>Require not ip 192.168.1.180/192.168.1.185
  </code></pre>
  
  <p>Used computer on ip 192.168.1.183, and wasn't blocked at all.</p>
  
  <p>Here's my httpd.conf and the ips are in a seperate blacklist.txt. Also it works with a single ip, the issue is only related to a <strong>RANGE</strong> of IPs.</p>
  
  <pre><code>    &lt;Directory "f:/root"&gt;  
      Options Indexes FollowSymLinks  
      AllowOverride All   
      &lt;LimitExcept GET POST HEAD&gt;  
      &lt;/LimitExcept&gt;
      &lt;RequireAll&gt;
        Require all granted
        Include conf/blacklist.txt
     &lt;/RequireAll&gt;   
     &lt;/Directory&gt;
  </code></pre>
  
  <p><strong>Edit2</strong>:
  Did another test and it seems that the issue comes from using a <strong>blacklist + GEOIP</strong>. Blacklist alone works with xxx.xxx.xxx.0/xxx.xxx.xxx.255 but as soon as mod_geoip is active, the blacklist is ignored.</p>
  
  <p>Here is my GEOIP config:</p>
  
  <pre><code>&lt;IfModule geoip_module&gt;
      GeoIPEnable On
      GeoIPEnableUTF8 On
      GeoIPOutput Env
      GeoIPScanProxyHeaders On
      GeoIPDBFile bin/GeoIP.dat MemoryCache
      SetEnvIf GEOIP_COUNTRY_CODE CN BlockCountry
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>If there a way to have <strong>BOTH blacklist and GEOIP</strong> working together??</p>