]> git.openstreetmap.org Git - rails.git/commitdiff
Use a regex match to block tilesAtHome.
authorTom Hughes <tom@compton.nu>
Sun, 7 Feb 2010 11:02:26 +0000 (11:02 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 7 Feb 2010 11:02:26 +0000 (11:02 +0000)
config/lighttpd.conf

index 9e8d4affbb1f5955c9cca41b572602e286510c80..a542e20c30097e9c4f5022ecd65635037602e7b8 100644 (file)
@@ -54,7 +54,7 @@ $HTTP["useragent"] =~ "Sosospider+" { url.access-deny = ("") }
 #
 # Block tilesAtHome
 #
-$HTTP["useragent"] == "tilesAtHome" { url.access-deny = ("") }
+$HTTP["useragent"] =~ "tilesAtHome" { url.access-deny = ("") }
 
 #
 # Block JOSM revisions  1722-1727 as they have a serious bug that causes