From ad62dbeab718ccd4f6696e1ab56ddcd5cc28262d Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Fri, 16 Apr 2010 12:00:25 +0100 Subject: [PATCH] New file for local development on Mac. --- web/conf/apache2.0/cartney-dev.conf | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 web/conf/apache2.0/cartney-dev.conf 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 + + + -- 1.7.10.4