Make targettest a redcirect rather than an alias.
authorMike Taylor <mike@indexdata.com>
Tue, 26 May 2009 07:29:56 +0000 (07:29 +0000)
committerMike Taylor <mike@indexdata.com>
Tue, 26 May 2009 07:29:56 +0000 (07:29 +0000)
web/conf/apache1.3/newshawarma.conf

index 0ed1670..1e0e5e6 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: newshawarma.conf,v 1.3 2007-06-28 12:26:22 mike Exp $
+# $Id: newshawarma.conf,v 1.4 2009-05-26 07:29:56 mike Exp $
 #
 # Sample configuration for running an IRSpy web-site under Apache 1.3.
 #
@@ -20,7 +20,6 @@
 
 <VirtualHost 83.133.64.64>
     ServerName irspy.indexdata.com
-    ServerAlias targettest.indexdata.com
     ErrorLog     /var/log/apache-irspy/irspy-error.log
     CustomLog    /var/log/apache-irspy/irspy-access.log combined
     DocumentRoot /home/mike/cvs/irspy/web/htdocs
@@ -39,3 +38,8 @@
        Require user admin
     </Location>
 </VirtualHost>
+
+<VirtualHost 83.133.64.64>
+    ServerName targettest.indexdata.com
+    Redirect permanent / http://irspy.indexdata.com/
+</VirtualHost>