From 420bef370d088997cc4228451941e05e37c4e181 Mon Sep 17 00:00:00 2001 From: Matt Amos Date: Wed, 10 Aug 2016 18:49:32 +0100 Subject: [PATCH] Anchors in regex don't seem to be working. --- cookbooks/tilecache/templates/default/squid.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/tilecache/templates/default/squid.conf.erb b/cookbooks/tilecache/templates/default/squid.conf.erb index 0d2cf84c0..b2194fd85 100644 --- a/cookbooks/tilecache/templates/default/squid.conf.erb +++ b/cookbooks/tilecache/templates/default/squid.conf.erb @@ -24,7 +24,7 @@ acl osmtileScrapers browser MSIE.5.5 acl osmtileScrapers browser ^LoadOSM\.exe$ acl osmtileScrapers browser ^app_name$ acl osmtileScrapers browser ^osmdroid$ # app using osmdroid library not setting app-specific User-Agent -acl osmtileScrapers browser ^Mozilla/5\.0 \(Windows NT 5\.1\)$ # Faked User-Agent +#acl osmtileScrapers browser ^Mozilla/5\.0 \(Windows NT 5\.1\)$ # Faked User-Agent http_access deny osmtile_sites osmtileScrapers -- 2.39.5