]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tilecache/templates/default/squid.conf.erb
Only allow HTTP GET tile requests (NOT POST)
[chef.git] / cookbooks / tilecache / templates / default / squid.conf.erb
index c9401b8396f8a64733276fdf50ec535f8e2f3c6f..1c47a7a836071b538ee6e49d87e3010ec05f51d0 100644 (file)
@@ -22,7 +22,6 @@ acl osmtileScrapers browser K\-Meleon\/1\.02$
 acl osmtileScrapers browser MSIE.7\.0.*Windows.NT.5\.1.*2\.0\.50727.$
 acl osmtileScrapers browser MSIE.5.5
 acl osmtileScrapers browser ^LoadOSM\.exe$
-acl osmtileScrapers browser ^taxi123\.pl$
 
 http_access deny osmtile_sites osmtileScrapers
 
@@ -46,7 +45,9 @@ acl blacklist_path urlpath_regex ^/zecmd/
 http_access allow osmtile_sites whitelist_path
 http_access deny blacklist_path
 
-http_access allow osmtile_sites
+acl requestMethodGet method GET
+
+http_access allow osmtile_sites requestMethodGet
 
 acl osmtile_nocache_url urlpath_regex \.png/(status|dirty)$
 cache deny osmtile_sites osmtile_nocache_url