X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=conf%2Fapache.conf.sed.in;h=dfbefed44657fbca13783be2a0a191ad8c3d9d6b;hb=792f3487bec081187341d8bd5f75d1c62bfd54f3;hp=274024874d63b42ea7d99f10ee957b4fb15473b3;hpb=75c5b92629eab225ffb2a200b0e869d200fe8d6c;p=deb%2Fpackages.git diff --git a/conf/apache.conf.sed.in b/conf/apache.conf.sed.in index 2740248..dfbefed 100644 --- a/conf/apache.conf.sed.in +++ b/conf/apache.conf.sed.in @@ -66,13 +66,13 @@ - ServerAdmin webmaster@debian.org + ServerAdmin frank@lichtenheld.de DocumentRoot %TOPDIR%/www/ ServerName %SITE% ErrorLog /var/log/apache2/%SITE%-error.log CustomLog /var/log/apache2/%SITE%-access.log combined - Alias /cgi-bin/ %TOPDIR%/cgi-bin/ + ScriptAlias /cgi-bin/ %TOPDIR%/cgi-bin/ PerlModule ModPerl::Registry PerlTaintCheck On @@ -108,9 +108,11 @@ RewriteRule ^/changelogs/ - [L] RewriteRule ^/Pics/ - [L] RewriteRule ^/about/ - [L] + RewriteRule ^/ubuntu/ - [L] RewriteRule ^/[^/]+\.css - [L] RewriteRule ^/[^/]+\.js - [L] RewriteRule ^/favicon.ico$ - [L] + RewriteRule ^/robots.txt$ - [L] # RewriteRule ^/$ http://www.debian.org/distrib/packages RewriteRule ^/$ /index.html [L] @@ -139,3 +141,17 @@ # RewriteRule . /index.html + + + ServerAdmin frank@lichtenheld.de + DocumentRoot %TOPDIR%/www/ + ServerName packages.ubuntu.net + ServerAlias packages.ubuntulinux.org + ErrorLog /var/log/apache2/%SITE%-error.log + CustomLog /var/log/apache2/%SITE%-access.log combined + + ScriptAlias /cgi-bin %TOPDIR%/cgi-bin/ + + RedirectMatch permanent (.*) http://%SITE%$1 + +