]> git.openstreetmap.org Git - rails.git/blobdiff - config/lighttpd.conf
add OS7 to autocomplete
[rails.git] / config / lighttpd.conf
index 21bb09193051a0a85e88878adfa37508f1b5c880..3befa5c87f8907318500e455b22deeef759b00ff 100644 (file)
@@ -49,6 +49,14 @@ $HTTP["remoteip"] == "143.210.16.160" { url.access-deny = ("") }
 #
 #$HTTP["useragent"] == "tilesAtHome" { url.access-deny = ("") }
 
+#
+# Block JOSM revisions  1722-1727 as they have a serious bug that causes
+# lat/lon to be swapped (http://josm.openstreetmap.de/ticket/2804)
+#
+$HTTP["useragent"] =~ "^JOSM/[0-9]+\.[0-9]+ \(172[234567] " {
+  url.access-deny = ("")
+}
+
 #
 # Limit connections to 20 per IP address
 #