[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] ftp-master.d.o: Redirect /testing/* to release.d.o



Currently /testing is a symlink, but this means the same content is
available under different addresses.
---
 config/debian/apache.conf-ftp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/debian/apache.conf-ftp b/config/debian/apache.conf-ftp
index 1e7a64d..3732245 100644
--- a/config/debian/apache.conf-ftp
+++ b/config/debian/apache.conf-ftp
@@ -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>
-- 
2.1.4



Reply to: