]> git.deb.at Git - deb/packages.git/commitdiff
[UBUNTU] apache.conf: Add redirect code from CVS
authorFrank Lichtenheld <frank@lichtenheld.de>
Wed, 6 Feb 2008 17:03:40 +0000 (18:03 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Wed, 6 Feb 2008 17:03:40 +0000 (18:03 +0100)
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.

conf/apache.conf.sed.in

index a3a074e97396cc24f33bb15825b284ebfb71c763..b69afe2da48ca0b900f38e7b4db5919ec1f4fcf4 100644 (file)
 #   RewriteRule . /index.html
 
 </VirtualHost>
+
+#<VirtualHost *>
+#   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>
+