1 # This is the configuration that I (Mike) use on the development
2 # machine cartney, which is a MacBook Pro
4 # See comments in mk2-config-cmc/apache/cmc-dev-mac.conf for details
5 # on running HTML::Mason-based sites under the apache2 port for Macs.
7 PerlSwitches -I/usr/local/src/git/irspy/lib
9 # Empirally, it seems that including this next line prevents the bug
10 # in which some but not all requests result in the error:
11 # Undefined subroutine &ZOOM::IRSpy::connect_to_registry
12 # (This ought not to make any difference, as the Apache2::Request
13 # module should of course get loaded from within IRSpy anyway, but you
14 # never know with Apache.)
15 PerlModule Apache2::Request
18 ServerName x.irspy.indexdata.com
23 ErrorLog /opt/local/apache2/logs/irspy-error.log
24 CustomLog /opt/local/apache2/logs/irspy-access.log combined
25 DocumentRoot /usr/local/src/git/irspy/web/htdocs
26 <FilesMatch "\.(html|css)$">
27 SetHandler perl-script
28 PerlHandler HTML::Mason::ApacheHandler
31 PerlSetVar MasonArgsMethod mod_perl
33 PerlAddVar MasonCompRoot "private => /usr/local/src/git/irspy/web/htdocs"
34 PerlSetVar MasonDataDir /tmp/irspy-mason
35 # IRSpyLibDir is used only to find source for online documentation
36 PerlSetVar IRSpyLibDir /usr/local/src/git/irspy/lib
37 PerlSetEnv PERL5LIB /usr/local/src/git/irspy/lib
41 AuthName "IRSpy Administration"
42 AuthUserFile /usr/local/src/git/irspy/web/conf/htpasswd