title: Apache mod_security blocking country
body: <p>I used this rule to block country in Mod_security : (I already configured @geoLookup with the maxmide lite database .dat)</p>
  
  <pre><code># Test IP address and block by country code
  SecRule REMOTE_ADDR "@geoLookup" "phase:1,chain,id:10,drop,log,msg:'Blocking China IP Address'"
  SecRule GEO:COUNTRY_CODE "@streq CN"
  </code></pre>
  
  <p>But it doesn't work, no ip logged. I tried with a different country and it does not work.</p>
  
  <p>Any help?</p>
  
  <p>Thank you.</p>