X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/09ccace4506d91517ea7ba56171b27eef14e49fe..334b76d2a903465fed9d3a3b3d5b7fdf3347c3d0:/config/lighttpd.conf diff --git a/config/lighttpd.conf b/config/lighttpd.conf index 317413f57..75647f248 100644 --- a/config/lighttpd.conf +++ b/config/lighttpd.conf @@ -31,10 +31,11 @@ server.errorlog = "/var/log/lighttpd/error.log" $HTTP["remoteip"] == "127.0.0.1" { status.status-url = "/server-status" } # -# API 0.3 is long dead, so fail any attempt to access it without +# Fail any attempt to access old versions of the API without # getting rails involved at all # $HTTP["url"] =~ "^/api/0.3/" { url.access-deny = ("") } +$HTTP["url"] =~ "^/api/0.4/" { url.access-deny = ("") } # # IP blocked at SteveC's request as it was trying to download the