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/Users/mike/git/work/irspy/lib -I/Users/mike/git/work/ZOOM-Perl/blib/lib -I/Users/mike/git/work/ZOOM-Perl/blib/arch
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 /var/log/apache2/irspy-error.log
24 CustomLog /var/log/apache2/irspy-access.log combined
25 DocumentRoot /Users/mike/git/work/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 => /Users/mike/git/work/irspy/web/htdocs"
34 PerlSetVar MasonDataDir /tmp/irspy-mason
35 # IRSpyLibDir is used only to find source for online documentation
36 PerlSetVar IRSpyLibDir /Users/mike/git/work/irspy/lib
40 AuthName "IRSpy Administration"
41 AuthUserFile /Users/mike/git/work/irspy/web/conf/htpasswd
50 ProxyPass /toroid/ http://localhost:12367/
51 ProxyPassReverse /toroid/ http://localhost:12367/