]> git.decadent.org.uk Git - dak.git/commitdiff
ftp-master.d.o: Redirect /testing/* to release.d.o
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 8 Nov 2015 14:29:24 +0000 (15:29 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 8 Nov 2015 14:29:24 +0000 (15:29 +0100)
Currently /testing is a symlink, but this means the same content is
available under different addresses.

config/debian/apache.conf-ftp

index 1e7a64dc95a2413ea36826f8f55c46367904e18f..37322454594357bc7fba0746a67d4c7775de2f57 100644 (file)
@@ -29,4 +29,5 @@ Use common-debian-service-https-redirect * ftp-master.debian.org
 
   RewriteEngine On
   RewriteRule ^/~(.+) /users/$1 [R=permanent,L]
+  RewriteRule ^/testing/(.*) https://release.debian.org/britney/$1 [R=permanent,L]
 </VirtualHost>