]> git.deb.at Git - deb/packages.git/commitdiff
Provide backwards compatibility for newpkg pages
authorFrank Lichtenheld <frank@lichtenheld.de>
Sat, 14 Apr 2007 13:56:20 +0000 (15:56 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sat, 14 Apr 2007 13:56:20 +0000 (15:56 +0200)
conf/apache.conf.sed.in

index 56dd359bf7fbf1f3205ad250fd25ba9feab7c05b..36032d7b2c9be8fe45ff4e2f60ce49ea4c03ad8c 100644 (file)
 
    RewriteRule ^/cgi-bin/search_packages.pl(.*)$ /search$1
    RewriteRule ^/cgi-bin/search_contents.pl(.*)$ /search$1
+   RewriteRule ^/unstable/newpkg_([a-z]+)\.[a-z]+\.rdf /unstable/$1/newpkg?format=rss [R=permanent,L]
+   RewriteRule ^/unstable/newpkg_([a-z]+) /unstable/$1/newpkg [R=permanent,L]
 
    # we never want to rewrite those URLs
    RewriteRule ^/cgi-bin/dispatcher.pl - [L]