Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MaxMindDBEnable not work inside LocationMatch #47

Open
phpsyscoder opened this issue Apr 27, 2017 · 4 comments
Open

MaxMindDBEnable not work inside LocationMatch #47

phpsyscoder opened this issue Apr 27, 2017 · 4 comments

Comments

@phpsyscoder
Copy link

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?

@oschwald
Copy link
Member

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.

@phpsyscoder
Copy link
Author

Any news?

@oschwald
Copy link
Member

@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.

@phpsyscoder
Copy link
Author

(oki) ... nevertheless Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants