# This is the configuration that I (Mike) use on the development # machine cartney, which is a MacBook Pro # # See comments in mk2-config-cmc/apache/cmc-dev-mac.conf for details # on running HTML::Mason-based sites under the apache2 port for Macs. 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 # Empirally, it seems that including this next line prevents the bug # in which some but not all requests result in the error: # Undefined subroutine &ZOOM::IRSpy::connect_to_registry # (This ought not to make any difference, as the Apache2::Request # module should of course get loaded from within IRSpy anyway, but you # never know with Apache.) PerlModule Apache2::Request ServerName x.irspy.indexdata.com Allow from all ErrorLog /var/log/apache2/irspy-error.log CustomLog /var/log/apache2/irspy-access.log combined DocumentRoot /Users/mike/git/work/irspy/web/htdocs SetHandler perl-script PerlHandler HTML::Mason::ApacheHandler PerlSetVar MasonArgsMethod mod_perl PerlAddVar MasonCompRoot "private => /Users/mike/git/work/irspy/web/htdocs" PerlSetVar MasonDataDir /tmp/irspy-mason # IRSpyLibDir is used only to find source for online documentation PerlSetVar IRSpyLibDir /Users/mike/git/work/irspy/lib AuthType Basic AuthName "IRSpy Administration" AuthUserFile /Users/mike/git/work/irspy/web/conf/htpasswd Require user admin ProxyRequests off Order deny,allow Allow from all ProxyPass /toroid/ http://localhost:12367/ ProxyPassReverse /toroid/ http://localhost:12367/