X-Git-Url: https://git.deb.at/w?a=blobdiff_plain;f=conf%2Fapache.conf.sed.in;h=41bcc344cc521f4c1245f52fe2a1d354aa8f1a15;hb=699944734d65358e66319300ec29dc7084f54ed0;hp=fb36e4a2b753cbb069bd5768e2a0f5a52a58f171;hpb=0ec9b9b48ad3e311983a5b25ce0e9fadae6daaff;p=deb%2Fpackages.git diff --git a/conf/apache.conf.sed.in b/conf/apache.conf.sed.in index fb36e4a..41bcc34 100644 --- a/conf/apache.conf.sed.in +++ b/conf/apache.conf.sed.in @@ -65,14 +65,15 @@ AddEncoding x-gzip .gz - - ServerAdmin webmaster@debian.org + + ServerAdmin frank@lichtenheld.de DocumentRoot %TOPDIR%/www/ ServerName %SITE% + ServerAlias packages.ubunut.com 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 @@ -105,6 +106,7 @@ RewriteRule ^/changelogs/ - [L] RewriteRule ^/Pics/ - [L] RewriteRule ^/about/ - [L] + RewriteRule ^/ubuntu/ - [L] RewriteRule ^/[^/]+\.css - [L] RewriteRule ^/[^/]+\.js - [L] RewriteRule ^/favicon.ico$ - [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 + +