From 11c1c209a6ac6663a76bc144fba3c893b2cfa27e Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 27 Feb 2014 11:51:01 +0000 Subject: [PATCH] tilecache: block UA: LoadOSM.exe --- cookbooks/tilecache/templates/default/squid.conf.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index d8d98da3a..603d30451 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -20,6 +20,7 @@ acl osmtileScrapers browser Firefox\/1\.0$ acl osmtileScrapers browser Firefox\/1\.0\.7$ acl osmtileScrapers browser K\-Meleon\/1\.02$ acl osmtileScrapers browser MSIE.7\.0.*Windows.NT.5\.1.*2\.0\.50727.$ +acl osmtileScrapers browser ^LoadOSM\.exe$ http_access deny osmtile_sites osmtileScrapers -- 2.39.5