]> git.openstreetmap.org Git - chef.git/commitdiff
trac: Disable /timeline for now
authorGrant Slater <git@firefishy.com>
Mon, 14 Sep 2020 20:44:24 +0000 (21:44 +0100)
committerGrant Slater <git@firefishy.com>
Mon, 14 Sep 2020 20:44:24 +0000 (21:44 +0100)
cookbooks/trac/templates/default/apache.erb

index 173186de67a6148a43348a488b39e9a8424be8a8..3b18fefb19641a6132f2f26e0d37cb0ae1314acd 100644 (file)
@@ -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(.*)$
+
   <Location /login>
     AuthType Basic
     AuthName "OpenStreetMap Trac"