]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/trac/templates/default/apache.erb
community: pin postgres v13
[chef.git] / cookbooks / trac / templates / default / apache.erb
index 199be20d6db99a18271e4a137221a3416575ccb1..079e260da3d575cc8a43edad7031a6dd7218ea8d 100644 (file)
@@ -47,6 +47,5 @@
   RewriteEngine on
   RewriteMap tickets txt:/srv/trac.openstreetmap.org/tickets.map
   RewriteRule ^/ticket/(\d+)$ https://github.com/openstreetmap/trac-tickets/issues/${tickets:$1}
-
-  RedirectPermanent / https://github.com/openstreetmap/trac-tickets
+  RewriteRule ^/?(.*) https://github.com/openstreetmap/trac-tickets [QSD,L,R=permanent]
 </VirtualHost>