From: wosch Date: Wed, 15 Apr 2009 18:20:15 +0000 (+0000) Subject: add connector framework config X-Git-Tag: CPAN-v1.02~54^2~167 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=d892ed1d94a1d7fb8b599ccca3b3f8a763128d41;p=irspy-moved-to-github.git add connector framework config --- diff --git a/web/conf/apache2.0/cfspy.conf b/web/conf/apache2.0/cfspy.conf new file mode 100644 index 0000000..d721dab --- /dev/null +++ b/web/conf/apache2.0/cfspy.conf @@ -0,0 +1,45 @@ +# $Id: cfspy.conf,v 1.1 2009-04-15 18:20:15 wosch Exp $ +# +# Sample configuration for running an IRSpy web-site under Apache 1.3. +# +# This is the configuration that I use on the development machine, +# xeno, which is a Fujitu-Siemens SCENIC X102 PC running Ubuntu Linux +# release 6.06. On this machine, the IRSpy software is at +# /usr/local/src/cvs/irspy +# +# This file can be included in the Apache configuration by adding a +# line like this to apache.conf or one of its included files: +# Include /usr/local/src/cvs/irspy/web/conf/apache1.3/xeno.conf +# +# When running on Ubuntu (and probably Debian), don't forget to +# install libapache-request-perl as well as libhtml-mason-perl, +# otherwise Mason will fail mysteriously. + +#NameVirtualHost 192.168.1.75 + + + ServerName cfspy.indexdata.com + + ErrorLog /var/log/apache2/irspy-error.log + CustomLog /var/log/apache2/irspy-access.log combined + DocumentRoot /home/wosch/indexdata/irspy/web/htdocs + + SetHandler perl-script + PerlHandler HTML::Mason::ApacheHandler + + PerlAddVar MasonCompRoot "private => /home/wosch/indexdata/irspy/web/htdocs" + PerlSetVar MasonDataDir /home/wosch/indexdata/irspy/web/data + PerlSetVar IRSpyLibDir /home/wosch/indexdata/irspy/lib + PerlSetEnv PERL5LIB /home/wosch/indexdata/irspy/lib + + # We need +Parent to make PerlSwitches -I work properly ... don't ask. + PerlOptions +Parent + PerlSwitches -I/home/wosch/indexdata/irspy/lib + + + AuthType Basic + AuthName "IRSpy Administration" + AuthUserFile /home/wosch/indexdata/irspy/web/conf/htpasswd + Require user admin + +