From: Mike Taylor Date: Fri, 16 Apr 2010 11:00:25 +0000 (+0100) Subject: New file for local development on Mac. X-Git-Tag: CPAN-v1.02~129^2~7 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=ad62dbeab718ccd4f6696e1ab56ddcd5cc28262d;p=irspy-moved-to-github.git New file for local development on Mac. --- diff --git a/web/conf/apache2.0/cartney-dev.conf b/web/conf/apache2.0/cartney-dev.conf new file mode 100644 index 0000000..37a4a55 --- /dev/null +++ b/web/conf/apache2.0/cartney-dev.conf @@ -0,0 +1,38 @@ +# 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/usr/local/src/git/irspy/lib + + + ServerName x.irspy.indexdata.com + + 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 + + SetHandler perl-script + PerlHandler HTML::Mason::ApacheHandler + + + PerlSetVar MasonArgsMethod mod_perl + + PerlAddVar MasonCompRoot "private => /usr/local/src/git/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 + + + AuthType Basic + AuthName "IRSpy Administration" + AuthUserFile /usr/local/src/git/irspy/web/conf/htpasswd + Require user admin + + +