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

[snapshot/master] Try adding a rewrite rule for renamed bpo



---
 etc/apache.conf |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/etc/apache.conf b/etc/apache.conf
index 8ffb6ec..4f9a8d7 100644
--- a/etc/apache.conf
+++ b/etc/apache.conf
@@ -14,6 +14,9 @@ WSGIDaemonProcess snapshot.debian.org user=nobody group=nogroup home=/ processes
   Alias /git         /srv/snapshot.debian.org/snapshot.git
   Alias /robots.txt  /srv/snapshot.debian.org/web/public/robots.txt
 
+  RewriteEngine on
+  RewriteRule ^/archive/backports.org/(.*)/ /archive/debian-backports/$1 [L,R]
+
   <Directory /srv/snapshot.debian.org/htdocs>
     Order allow,deny
     Allow from all
-- 
1.5.6.5


Reply to: