X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=web%2Fconf%2Fapache2.0%2Fcartney-dev.conf;h=dbc28d6b52d5ce9b639581c8860f155ed28504ea;hb=HEAD;hp=37a4a55dc5699fa60d077ae50b2065442511ba75;hpb=724c141a2063fb59f1621bea208290e81189a788;p=irspy-moved-to-github.git diff --git a/web/conf/apache2.0/cartney-dev.conf b/web/conf/apache2.0/cartney-dev.conf index 37a4a55..dbc28d6 100644 --- a/web/conf/apache2.0/cartney-dev.conf +++ b/web/conf/apache2.0/cartney-dev.conf @@ -4,7 +4,15 @@ # 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/usr/local/src/git/irspy/lib +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 @@ -12,9 +20,9 @@ PerlSwitches -I/usr/local/src/git/irspy/lib Allow from all - ErrorLog /opt/local/apache2/logs/irspy-error.log - CustomLog /opt/local/apache2/logs/irspy-access.log combined - DocumentRoot /usr/local/src/git/irspy/web/htdocs + 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 @@ -22,17 +30,24 @@ PerlSwitches -I/usr/local/src/git/irspy/lib PerlSetVar MasonArgsMethod mod_perl - PerlAddVar MasonCompRoot "private => /usr/local/src/git/irspy/web/htdocs" + 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 /usr/local/src/git/irspy/lib - PerlSetEnv PERL5LIB /usr/local/src/git/irspy/lib + PerlSetVar IRSpyLibDir /Users/mike/git/work/irspy/lib AuthType Basic AuthName "IRSpy Administration" - AuthUserFile /usr/local/src/git/irspy/web/conf/htpasswd + 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/