X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/98bef7ba311c5de1ea6012cf830849f14303d520..6fafe7f309800b9ae8144eb723a89b81fee1d757:/config/lighttpd.conf diff --git a/config/lighttpd.conf b/config/lighttpd.conf index 21bb09193..3befa5c87 100644 --- a/config/lighttpd.conf +++ b/config/lighttpd.conf @@ -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 #