]> git.openstreetmap.org Git - chef.git/commitdiff
Drop query string on demised site redirect
authorGrant Slater <git@firefishy.com>
Fri, 15 Jul 2022 21:01:04 +0000 (00:01 +0300)
committerGrant Slater <git@firefishy.com>
Fri, 15 Jul 2022 21:01:04 +0000 (00:01 +0300)
cookbooks/subversion/templates/default/apache.erb
cookbooks/trac/templates/default/apache.erb

index 987d50930fd6872d7db10d177b3707036b2d0f34..8a729206d47493ea0587e0e5405f7b56e9047f4e 100644 (file)
@@ -14,7 +14,7 @@
   RedirectPermanent /applications/editors/josm/plugins/cadastre-fr/images/cadastre_small.png https://raw.githubusercontent.com/openstreetmap/svn-archive/main/applications/editors/josm/plugins/cadastre-fr/images/cadastre_small.png
 
   RewriteEngine on
-  RewriteRule ^/?(.*) https://github.com/openstreetmap/svn-archive [L,R=permanent]
+  RewriteRule ^/?(.*) https://github.com/openstreetmap/svn-archive [QSD,L,R=permanent]
 
 </VirtualHost>
 <% unless @aliases.empty? -%>
index 5e1fc01df5a7acdf62ba02df28c90c728074b759..079e260da3d575cc8a43edad7031a6dd7218ea8d 100644 (file)
@@ -47,5 +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}
-  RewriteRule ^/?(.*) https://github.com/openstreetmap/trac-tickets [L,R=permanent]
+  RewriteRule ^/?(.*) https://github.com/openstreetmap/trac-tickets [QSD,L,R=permanent]
 </VirtualHost>