X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9a32033209545a69d60cbd551e6bd975cda64341..dcc3ccc225e0e4f6c2683a384dc45137945c4f0f:/config/lighttpd.conf diff --git a/config/lighttpd.conf b/config/lighttpd.conf index e07a9c295..9e8acadba 100644 --- a/config/lighttpd.conf +++ b/config/lighttpd.conf @@ -26,6 +26,7 @@ server.reject-expect-100-with-417 = "disable" # Setup logging # accesslog.filename = "/var/log/lighttpd/access.log" +accesslog.format = "%h %V %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Accept-Language}i\"" server.errorlog = "/var/log/lighttpd/error.log" # @@ -53,7 +54,7 @@ $HTTP["remoteip"] == "143.210.16.160" { 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] .*\)$" { +$HTTP["useragent"] =~ "^JOSM/[0-9]+\.[0-9]+ \(172[234567] " { url.access-deny = ("") }