From a9f14e61fd158776f49fc3d2a1f779ee5dad4522 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 26 May 2009 07:29:56 +0000 Subject: [PATCH] Make targettest a redcirect rather than an alias. --- web/conf/apache1.3/newshawarma.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/web/conf/apache1.3/newshawarma.conf b/web/conf/apache1.3/newshawarma.conf index 0ed1670..1e0e5e6 100644 --- a/web/conf/apache1.3/newshawarma.conf +++ b/web/conf/apache1.3/newshawarma.conf @@ -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 @@ 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 + + + ServerName targettest.indexdata.com + Redirect permanent / http://irspy.indexdata.com/ + -- 1.7.10.4