Remove Apache::Reload stuff.
[irspy-moved-to-github.git] / web / conf / apache1.3 / xeno.conf
1 # $Id: xeno.conf,v 1.9 2008-08-29 18:58:13 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 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 #       /usr/local/src/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 /usr/local/src/cvs/irspy/web/conf/apache1.3/xeno.conf
13 #
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.
17
18 NameVirtualHost 192.168.1.75
19
20 <VirtualHost 192.168.1.75>
21     ServerName x.irspy.indexdata.com
22     ErrorLog     /var/log/apache/irspy-error.log
23     CustomLog    /var/log/apache/irspy-access.log combined
24     DocumentRoot /usr/local/src/cvs/irspy/web/htdocs
25     <FilesMatch "\.(html|css)$">
26      SetHandler perl-script
27      PerlHandler HTML::Mason::ApacheHandler
28     </FilesMatch>
29     PerlAddVar MasonCompRoot "private => /usr/local/src/cvs/irspy/web/htdocs"
30     PerlSetVar MasonDataDir              /usr/local/src/cvs/irspy/web/data
31     PerlSetVar IRSpyLibDir               /usr/local/src/cvs/irspy/lib
32     PerlSetEnv PERL5LIB /usr/local/src/cvs/irspy/lib
33     <Location /admin>
34         AuthType Basic
35         AuthName "IRSpy Administration"
36         AuthUserFile /usr/local/src/cvs/irspy/web/conf/htpasswd
37         Require user admin
38     </Location>
39 </VirtualHost>