tilecache: tweak scraper regex
authorGrant Slater <git@firefishy.com>
Thu, 16 Jan 2014 14:40:13 +0000 (14:40 +0000)
committerGrant Slater <git@firefishy.com>
Thu, 16 Jan 2014 14:40:13 +0000 (14:40 +0000)
cookbooks/tilecache/templates/default/squid.conf.erb

index de33c7969aa4dfb0f98c5dfc4a815d2c0866d4b2..aeb7c1e7d4a0906ed9751b3e4abe1c4c33eb7e75 100644 (file)
@@ -2,8 +2,8 @@ acl osmtile_sites dstdomain a.tile.openstreetmap.org b.tile.openstreetmap.org c.
 acl osmtiles_png urlpath_regex .png$
 
 acl osmtileScrapers browser ^offlinemap\-lite
-acl osmtileScrapers browser ^Wget/1
-acl osmtileScrapers browser ^Apache-HttpClient/UNAVAILABLE"
+acl osmtileScrapers browser ^Wget
+acl osmtileScrapers browser ^Apache\-HttpClient
 http_access deny osmtile_sites osmtileScrapers
 
 acl whitelist_path urlpath_regex ^/cgi-bin/(export|debug)$