]> git.deb.at Git - deb/packages.git/commitdiff
apache.conf.sed.in: Use the official root redirect
authorFrank Lichtenheld <frank@lichtenheld.de>
Sun, 9 Sep 2007 15:18:20 +0000 (15:18 +0000)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sun, 9 Sep 2007 15:18:20 +0000 (15:18 +0000)
Redirect / to http://www.debian.org/distrib/packages instead
of /index.html

conf/apache.conf.sed.in

index c71ef22956aedbf805635024cdc7dd6b9adbb541..20067de1f5e0de4da3ef16b4f6ba6ea3e3955f8d 100644 (file)
    RewriteRule ^/[^/]+\.css - [L]
    RewriteRule ^/[^/]+\.js - [L]
 
-#   RewriteRule ^/$ http://www.debian.org/distrib/packages
-   RewriteRule ^/$ /index.html [L]
+   RewriteRule ^/$ http://www.debian.org/distrib/packages
+#   RewriteRule ^/$ /index.html [L]
    RewriteRule ^/([^/+]*)([+])([^/]*)$ "/$1%%{%}2B$3" [N]
    RewriteRule ^/changelog:(.+)$  http://%SITE%/changelogs/${changelog-url:$1} [R,L,NE]
    RewriteRule ^/src:([^/]+)$ /source/$1 [R,L,NE]