1 # $Id: test.conf,v 1.5 2007-02-20 18:51:37 mike Exp $
3 # Sample configuration for running an IRSpy web-site under Apache 1.3.
5 # This is the configuration that I use on the staging machine,
6 # test, which is a PC running Debian GNU/Linux 3.1.
7 # On this machine, the IRSpy software is at
8 # /usr/local/src/cvs/irspy
10 # This file can be included in the Apache configuration by adding a
11 # line like this to apache.conf or one of its included files:
12 # Include /usr/local/src/cvs/irspy/web/conf/apache1.3/test.conf
14 # When running on Debian, don't forget to
15 # install libapache-request-perl as well as libhtml-mason-perl,
16 # otherwise Mason will fail mysteriously.
18 <VirtualHost 10.0.0.4>
19 ServerName irspy.indexdata.com
20 ErrorLog /var/log/apache/irspy-error.log
21 CustomLog /var/log/apache/irspy-access.log combined
22 DocumentRoot /usr/local/src/cvs/irspy/web/htdocs
23 <FilesMatch "\.(html|css)$">
24 SetHandler perl-script
25 PerlHandler HTML::Mason::ApacheHandler
27 PerlAddVar MasonCompRoot "private => /usr/local/src/cvs/irspy/web/htdocs"
28 PerlSetVar MasonDataDir /usr/local/src/cvs/irspy/web/data
29 PerlSetVar IRSpyLibDir /usr/local/src/cvs/irspy/lib
30 PerlSetEnv PERL5LIB /usr/local/src/cvs/irspy/lib
33 AuthName "IRSpy Administration"
34 AuthUserFile /usr/local/src/cvs/irspy/web/conf/htpasswd