]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/trac/templates/default/apache.erb
Fix rubocop warnings
[chef.git] / cookbooks / trac / templates / default / apache.erb
index f8f898e2a3888a4dacd3f426613d363badbd7c74..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}
-
-  ErrorDocument 404 https://github.com/openstreetmap/trac-tickets
+  RewriteRule ^/?(.*) https://github.com/openstreetmap/trac-tickets [QSD,L,R=permanent]
 </VirtualHost>