From a032922e52b7c4a5b5b461ca62d289b702d922e8 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Thu, 16 Jan 2014 14:40:13 +0000 Subject: [PATCH] tilecache: tweak scraper regex --- cookbooks/tilecache/templates/default/squid.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index de33c7969..aeb7c1e7d 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -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)$ -- 2.39.5