X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/79413cf4e95d3ce08a39f618a494b78f5484eb59..9b4b2aab7e2feeb21beeff9bce1e466d9c38dba5:/cookbooks/trac/templates/default/apache.erb diff --git a/cookbooks/trac/templates/default/apache.erb b/cookbooks/trac/templates/default/apache.erb index f8f898e2a..079e260da 100644 --- a/cookbooks/trac/templates/default/apache.erb +++ b/cookbooks/trac/templates/default/apache.erb @@ -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]