From: Grant Slater Date: Mon, 14 Sep 2020 20:44:24 +0000 (+0100) Subject: trac: Disable /timeline for now X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/7ce4d21d48d3482434b33afda5b09df3053c37a0?hp=-c trac: Disable /timeline for now --- 7ce4d21d48d3482434b33afda5b09df3053c37a0 diff --git a/cookbooks/trac/templates/default/apache.erb b/cookbooks/trac/templates/default/apache.erb index 173186de6..3b18fefb1 100644 --- a/cookbooks/trac/templates/default/apache.erb +++ b/cookbooks/trac/templates/default/apache.erb @@ -54,6 +54,9 @@ WSGIDaemonProcess <%= @name %> user=<%= @user %> group=<%= @group %> processes=4 DefineExternalAuth osm pipe /usr/local/bin/trac-authenticate + # Disable /timeline for now + RedirectMatch 410 /timeline ^/timeline(.*)$ + AuthType Basic AuthName "OpenStreetMap Trac"