1 # $Id: cfspy.conf,v 1.2 2009-04-15 18:23:02 wosch Exp $
3 # Sample configuration for running an IRSpy web-site under Apache 2.x.
5 # This is the configuration that I use on the development machine,
6 # xeno, which is a Fujitu-Siemens SCENIC X102 PC running Ubuntu Linux
7 # release 6.06. On this machine, the IRSpy software is at
8 # /home/wosch/indexdata/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 /home/wosch/indexdata/irspy/web/conf/apache2.0/cfspy.conf
14 # When running on Ubuntu (and probably Debian), don't forget to
15 # install libapache-request-perl as well as libhtml-mason-perl,
16 # otherwise Mason will fail mysteriously.
18 #NameVirtualHost 192.168.1.75
21 ServerName cfspy.indexdata.com
23 ErrorLog /var/log/apache2/cfspy-error.log
24 CustomLog /var/log/apache2/cfspy-access.log combined
25 DocumentRoot /home/wosch/indexdata/irspy/web/htdocs
26 <FilesMatch "\.(html|css)$">
27 SetHandler perl-script
28 PerlHandler HTML::Mason::ApacheHandler
30 PerlAddVar MasonCompRoot "private => /home/wosch/indexdata/irspy/web/htdocs"
31 PerlSetVar MasonDataDir /home/wosch/indexdata/irspy/web/data
32 PerlSetVar IRSpyLibDir /home/wosch/indexdata/irspy/lib
33 PerlSetEnv PERL5LIB /home/wosch/indexdata/irspy/lib
35 # We need +Parent to make PerlSwitches -I work properly ... don't ask.
37 PerlSwitches -I/home/wosch/indexdata/irspy/lib
41 AuthName "IRSpy Administration"
42 AuthUserFile /home/wosch/indexdata/irspy/web/conf/htpasswd