X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=conf%2Fapache.conf.sed.in;h=ce7739f41c93e596ff668e7e6423e8de99093a70;hb=76ea5b88fe45d0145dcb41082a7a29c0be1cf122;hp=2067d8608d57c4c2e4024c9be1b2b78e8a0ea585;hpb=6e07e823b19d4d708cbbf714dac7c8192fbbe018;p=deb%2Fpackages.git diff --git a/conf/apache.conf.sed.in b/conf/apache.conf.sed.in index 2067d86..ce7739f 100644 --- a/conf/apache.conf.sed.in +++ b/conf/apache.conf.sed.in @@ -65,10 +65,11 @@ AddEncoding x-gzip .gz - + ServerAdmin webmaster@debian.org DocumentRoot %TOPDIR%/www/ ServerName %SITE% + ServerAlias newpackages.debian.org ErrorLog /var/log/apache2/%SITE%-error.log CustomLog /var/log/apache2/%SITE%-access.log combined @@ -113,8 +114,8 @@ RewriteRule ^/favicon.ico$ - [L] RewriteRule ^/robots.txt$ - [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:([^/]+)$ http://%SITE%/search?searchon=sourcenames&keywords=$1 [R,L,NE]