From: Frank Lichtenheld Date: Wed, 6 Feb 2008 17:03:40 +0000 (+0100) Subject: [UBUNTU] apache.conf: Add redirect code from CVS X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=65ad2afd78d03654960ec5589c0f3e19a2b5c90b;p=deb%2Fpackages.git [UBUNTU] apache.conf: Add redirect code from CVS Add the redirect code that maps packages.ubuntu.net and packages.ubuntulinux.org to packages.ubuntu.com. Comment it out since otherwise I get problems with testing the new code on the same server as the old one. --- diff --git a/conf/apache.conf.sed.in b/conf/apache.conf.sed.in index a3a074e..b69afe2 100644 --- a/conf/apache.conf.sed.in +++ b/conf/apache.conf.sed.in @@ -135,3 +135,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 +# +