[mod-security-users] Geo location lookup multiple rules
Brought to you by:
victorhora,
zimmerletw
|
From: homesh j. <ho...@gm...> - 2022-05-29 18:48:19
|
Hi All, I have multiple virtual host entries in apache in each virtual host I have rule like this SecGeoLookupDb /etc/modsecurity/maxmind4.dat SecRule REMOTE_ADDR "@geoLookup" "phase:1,log,chain,id:2,drop,msg:'Geolocation Blocked'" SecRule GEO:COUNTRY_CODE "@pm CN PE IR" My query is the line SecGeoLookupDb /etc/modsecurity/maxmind4.dat present in each virtual host. Is it required in each or can I define it once globally. will it cause apache to load the file multiple times in memory or it will load only once. Please suggest. Thanks, Homesh |