1 # $Id: newshawarma.conf,v 1.4 2009-05-26 07:29:56 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 live machine,
6 # newshawarma, which is a PC running Debian GNU/Linux 3.1.
7 # On this machine, the IRSpy software is at
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 /home/mike/cvs/irspy/web/conf/apache1.3/newshawarma.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 # And do NOT attempt to install ZAP on the same apache, that is known
21 <VirtualHost 83.133.64.64>
22 ServerName irspy.indexdata.com
23 ErrorLog /var/log/apache-irspy/irspy-error.log
24 CustomLog /var/log/apache-irspy/irspy-access.log combined
25 DocumentRoot /home/mike/cvs/irspy/web/htdocs
26 <FilesMatch "\.(html|css)$">
27 SetHandler perl-script
28 PerlHandler HTML::Mason::ApacheHandler
30 PerlAddVar MasonCompRoot "private => /home/mike/cvs/irspy/web/htdocs"
31 PerlSetVar MasonDataDir /home/mike/cvs/irspy/web/data
32 PerlSetVar IRSpyLibDir /home/mike/cvs/irspy/lib
33 PerlSetEnv PERL5LIB /home/mike/cvs/irspy/lib
36 AuthName "IRSpy Administration"
37 AuthUserFile /home/mike/cvs/irspy/web/conf/htpasswd
42 <VirtualHost 83.133.64.64>
43 ServerName targettest.indexdata.com
44 Redirect permanent / http://irspy.indexdata.com/