From b1e622eaec16146f43fd93c067c69ccb9adc0993 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 14 Aug 2015 19:14:05 +0100 Subject: [PATCH] Block "OSMApp Tuner" as it is scraping changesets --- cookbooks/web/templates/default/apache.frontend.erb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cookbooks/web/templates/default/apache.frontend.erb b/cookbooks/web/templates/default/apache.frontend.erb index 0989ea791..5c149872e 100644 --- a/cookbooks/web/templates/default/apache.frontend.erb +++ b/cookbooks/web/templates/default/apache.frontend.erb @@ -47,6 +47,12 @@ RewriteCond %{HTTP_USER_AGENT} tilesAtHome RewriteRule . - [F,L] + # + # Block changeset scraper + # + RewriteCond %{HTTP_USER_AGENT} "OSMApp Tuner" + RewriteRule . - [F,L] + # # Block requests for the old 404 map tile # -- 2.39.5