]> git.openstreetmap.org Git - rails.git/blobdiff - config/lighttpd.conf
Block JOSM revisions 1722-1727 as they have a serious bug that causes
[rails.git] / config / lighttpd.conf
index 21bb09193051a0a85e88878adfa37508f1b5c880..e07a9c295dfadcf8d281fc77e96316e64c58134d 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
 #