]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/squid.conf.erb
tilecache: block UA: LoadOSM.exe
[chef.git] / cookbooks / tilecache / templates / default / squid.conf.erb
index 6c72dbabad360354763f3518e85c83728434333d..603d3045192b707f1de07f60fcf17fc53546d331 100644 (file)
@@ -12,8 +12,16 @@ acl osmtileScrapers browser ^shipxy01
 acl osmtileScrapers browser Firefox\/2\.0\.0\.11$
 #acl osmtileScrapers browser Firefox\/3\.5\.7$ #CGI285 + Email. Whitelist for 1 week
 acl osmtileScrapers browser Firefox\/3\.6$
-#acl osmtileScrapers browser ^Mozilla\/5\.0$ #Irc. QLandkarte likely using this. Allow time for fix.
+acl osmtileScrapers browser ^Mozilla\/5\.0$ #QLandkarte unwilling to set a real user-agent.
+acl osmtileScrapers browser ^Mozilla$ #Intentionally faked user-agent
 acl osmtileScrapers browser ^User\-Agent
+acl osmtileScrapers browser Firefox\/0\.8$
+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
 
 acl whitelist_path urlpath_regex ^/cgi-bin/(export|debug)