]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/trac/templates/default/apache.erb
Cleaner redirect using 404 handler for demised sites
[chef.git] / cookbooks / trac / templates / default / apache.erb
index 199be20d6db99a18271e4a137221a3416575ccb1..f8f898e2a3888a4dacd3f426613d363badbd7c74 100644 (file)
@@ -48,5 +48,5 @@
   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
+  ErrorDocument 404 https://github.com/openstreetmap/trac-tickets
 </VirtualHost>