From: Grant Slater Date: Fri, 17 Jan 2014 11:43:41 +0000 (+0000) Subject: tilecache: cleanup scraper UA blocks slightly X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/6da3029671af74f2696bc2544573fae856d8120f tilecache: cleanup scraper UA blocks slightly --- diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index 9b54ad7e1..c4e1e40f2 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -9,10 +9,11 @@ acl osmtileScrapers browser ^Opera\/10\.00 acl osmtileScrapers browser ^shipxy01 acl osmtileScrapers browser ^OsmAnd acl osmtileScrapers browser ^apemap -acl osmtileScrapers browser Firefox\/2\.0\.0\.11 -acl osmtileScrapers browser Firefox\/3\.5\.7 -acl osmtileScrapers browser Firefox\/3\.6 -acl osmtileScrapers browser ^User-Agent +acl osmtileScrapers browser Firefox\/2\.0\.0\.11$ +acl osmtileScrapers browser Firefox\/3\.5\.7$ +acl osmtileScrapers browser Firefox\/3\.6$ +acl osmtileScrapers browser ^Mozilla\/5\.0$ +acl osmtileScrapers browser ^User\-Agent http_access deny osmtile_sites osmtileScrapers acl whitelist_path urlpath_regex ^/cgi-bin/(export|debug)$