From 9405fb0ea58e0fdfa281b99656ab8da7534bab8c Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Wed, 14 Apr 2010 12:32:29 +0000 Subject: [PATCH] setupt test/devel config --- web/conf/apache2.0/irspy-test.conf | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/web/conf/apache2.0/irspy-test.conf b/web/conf/apache2.0/irspy-test.conf index d7bc973..fc2c60e 100644 --- a/web/conf/apache2.0/irspy-test.conf +++ b/web/conf/apache2.0/irspy-test.conf @@ -1,24 +1,21 @@ -# $Id: cfspy.conf,v 1.4 2009-04-16 18:31:20 wosch Exp $ -# # Sample configuration for running an IRSpy web-site under Apache 2.x. # # This is the configuration that I use on the development machine -# /usr/local/src/git/irspy +# /usr/local/src/git/irspy-test # # This file can be included in the Apache configuration by adding a # line like this to apache.conf or one of its included files: -# Include /usr/local/src/git/irspy/web/conf/apache2.0/irspy.conf +# Include /usr/local/src/git/irspy-test/web/conf/apache2.0/irspy.conf # # For debian & unbuntu: please read irspy/README for a list of depending packages # - ServerName irspy.indexdata.com - ServerAlias irspy2.indexdata.com irspy + ServerName irspy-test.indexdata.com - ErrorLog /var/log/apache2/irspy-error.log - CustomLog /var/log/apache2/irspy-access.log combined - DocumentRoot /usr/local/src/git/irspy/web/htdocs + ErrorLog /var/log/apache2/irspy-test-error.log + CustomLog /var/log/apache2/irspy-test-access.log combined + DocumentRoot /usr/local/src/git/irspy-test/web/htdocs SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler @@ -26,19 +23,19 @@ PerlSetVar MasonArgsMethod mod_perl - PerlAddVar MasonCompRoot "private => /usr/local/src/git/irspy/web/htdocs" - PerlSetVar MasonDataDir /usr/local/src/git/irspy/web/data - PerlSetVar IRSpyLibDir /usr/local/src/git/irspy/lib + PerlAddVar MasonCompRoot "private => /usr/local/src/git/irspy-test/web/htdocs" + PerlSetVar MasonDataDir /usr/local/src/git/irspy-test/web/data + PerlSetVar IRSpyLibDir /usr/local/src/git/irspy-test/lib PerlSetEnv PERL5LIB /usr/local/src/git/irspy/lib # We need +Parent to make PerlSwitches -I work properly ... don't ask. PerlOptions +Parent - PerlSwitches -I/usr/local/src/git/irspy/lib + PerlSwitches -I/usr/local/src/git/irspy-test/lib AuthType Basic AuthName "IRSpy Administration" - AuthUserFile /usr/local/src/git/irspy/web/conf/htpasswd + AuthUserFile /usr/local/src/git/irspy-test/web/conf/htpasswd Require user admin -- 1.7.10.4