Adjust GEO:COUNTRY_CODE example

Martin Vierula 2023-10-23 06:18:20 -07:00
parent 7eeee852d0
commit f5967c5f16
No known key found for this signature in database
GPG Key ID: F2FC4E45883BCBA4

@ -1253,7 +1253,7 @@ Example:
SecGeoLookupDB /usr/share/GeoIP/GeoLite2-Country.mmdb SecGeoLookupDB /usr/share/GeoIP/GeoLite2-Country.mmdb
... ...
SecRule REMOTE_ADDR "@geoLookup" "chain,id:22,drop,msg:'Non-GB IP address'" SecRule REMOTE_ADDR "@geoLookup" "chain,id:22,drop,msg:'Non-GB IP address'"
SecRule GEO:COUNTRY_CODE "!@streq GB" SecRule GEO:COUNTRY_CODE "!@streq GB" ""
</pre> </pre>
== HIGHEST_SEVERITY == == HIGHEST_SEVERITY ==
This variable holds the highest severity of any rules that have matched so far. Severities are numeric values and thus can be used with comparison operators such as @lt, and so on. A value of 255 indicates that no severity has been set. This variable holds the highest severity of any rules that have matched so far. Severities are numeric values and thus can be used with comparison operators such as @lt, and so on. A value of 255 indicates that no severity has been set.