MaxMindDBEnable not work inside LocationMatch
Dear Team i try to disable GEO-IP Lookups for static files in my vhost.conf, with:
<LocationMatch "\.(css|js|json|jpg|jpeg|gif|ico|png|bmp|pict|csv|doc|pdf|pls|ppt|tif|tiff|eps|ejs|swf|midi|mid|ttf|eot|woff|woff2|otf|svg|svgz|webp|docx|xlsx|xls|pptx|ps|class|jar|txt)$">
MaxMindDBEnable Off
</LocationMatch>
But its ignored by mod_maxminddb Any ideas?
Currently, I believe, this will only work in Location and Directory blocks. Apache's configuration merging is a bit restricting, but we will take a look at what would be involved to implement this.
Any news?
@petrich, we did briefly look at improving config merging, which may resolve this but not much came of it. I am not sure when or if we will look into it further. Many of our users have either moved off of Apache altogether or do GeoIP lookups in their application directly.
(oki) ... nevertheless Thank you