Truncate overlong table entries.
[irspy-moved-to-github.git] / web / conf / apache1.3 / newshawarma.conf
1 # $Id: newshawarma.conf,v 1.3 2007-06-28 12:26:22 mike Exp $
2 #
3 # Sample configuration for running an IRSpy web-site under Apache 1.3.
4 #
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
8 #       /home/mike/cvs/irspy
9 #
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
13 #
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.
17
18 # And do NOT attempt to install ZAP on the same apache, that is known
19 # to fail!
20
21 <VirtualHost 83.133.64.64>
22     ServerName irspy.indexdata.com
23     ServerAlias targettest.indexdata.com
24     ErrorLog     /var/log/apache-irspy/irspy-error.log
25     CustomLog    /var/log/apache-irspy/irspy-access.log combined
26     DocumentRoot /home/mike/cvs/irspy/web/htdocs
27     <FilesMatch "\.(html|css)$">
28      SetHandler perl-script
29      PerlHandler HTML::Mason::ApacheHandler
30     </FilesMatch>
31     PerlAddVar MasonCompRoot "private => /home/mike/cvs/irspy/web/htdocs"
32     PerlSetVar MasonDataDir              /home/mike/cvs/irspy/web/data
33     PerlSetVar IRSpyLibDir               /home/mike/cvs/irspy/lib
34     PerlSetEnv PERL5LIB /home/mike/cvs/irspy/lib
35     <Location /admin>
36         AuthType Basic
37         AuthName "IRSpy Administration"
38         AuthUserFile /home/mike/cvs/irspy/web/conf/htpasswd
39         Require user admin
40     </Location>
41 </VirtualHost>