From: Frank Lichtenheld Date: Sat, 14 Apr 2007 13:56:20 +0000 (+0200) Subject: Provide backwards compatibility for newpkg pages X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=a59f992384193557112a964aecd13fbe013c9447;p=deb%2Fpackages.git Provide backwards compatibility for newpkg pages --- diff --git a/conf/apache.conf.sed.in b/conf/apache.conf.sed.in index 56dd359..36032d7 100644 --- a/conf/apache.conf.sed.in +++ b/conf/apache.conf.sed.in @@ -108,6 +108,8 @@ 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]