Cannot load local GeoIPDB · Issue #2186 · owasp-modsecurity/ModSecurity (original) (raw)
Hey guys.
I am trying to integrate modsecurity 3 with geoIP support and i want to use a local database, like i used with modsecurity 2.9, downloaded from maxmind. With modsec v3 i couldn't load the database.
Output from nginx -t comamnd:
Error reading file ???????????????/GeoIP.dat
nginx: [emerg] "modsecurity_rules_file" directive Rules error. File: ????????/setup.conf. Line: 406. Column: 83. Failed to load the GeoDB from: ???????????????????/GeoIP.dat. Can't open: ?????????????????/GeoIP.dat. Support enabled for: GeoIP. GeoIP: Can't open: ?????????????/GeoIP.dat. in ???????????/default.conf
I replaced the path with "??"
I know that is possible that this not the place to ask this type of questions, but i don't where i should ask. Sorry about that.
Thank guys.