I'm trying to get my users lat. and lng. from their address using Google's geocoding API but when mod:security is enabled, it prevents it and the script times out. How can I add an exception by IP or domain for this or just remove whatever configuration that makes mod_security do this?
I am using the OWASP ModSecurity Core Rule Set Project
[Sun Jun 26 13:13:14 2011] [error] [client 18.104.22.168] ModSecurity: Unable to retrieve collection (name "ip", key "22.214.171.124_fc2ccdca4bf1fc8585b77c1444811dedd59da612"). Use SecDataDir to define data directory first. [hostname mydomain.com"] [uri "/admin/geocoding.php"] [unique_id "EIpfP38AAAEAAA2eAT0AAAAK"]
I have added this line:
Now, I don't get anything in the error log, but still the same behaviour!