]> git.deb.at Git - deb/packages.git/blobdiff - conf/apache.conf.sed.in
Merge commit 'origin/master' into ubuntu-master
[deb/packages.git] / conf / apache.conf.sed.in
index 91833a623313e3d87bc44f671ee13ffec8ac828c..41bcc344cc521f4c1245f52fe2a1d354aa8f1a15 100644 (file)
   AddEncoding x-gzip .gz
 </Directory>
 
-<VirtualHost *>
-   ServerAdmin webmaster@debian.org
+<VirtualHost 91.189.94.219:80>
+   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
    RewriteRule ^/changelogs/ - [L]
    RewriteRule ^/Pics/ - [L]
    RewriteRule ^/about/ - [L]
+   RewriteRule ^/ubuntu/ - [L]
    RewriteRule ^/[^/]+\.css - [L]
    RewriteRule ^/[^/]+\.js - [L]
    RewriteRule ^/favicon.ico$ - [L]
 #   RewriteRule . /index.html
 
 </VirtualHost>
+
+<VirtualHost 91.189.94.219:80>
+   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
+</VirtualHost>
+