New
authorMike Taylor <mike@indexdata.com>
Wed, 20 Sep 2006 13:20:46 +0000 (13:20 +0000)
committerMike Taylor <mike@indexdata.com>
Wed, 20 Sep 2006 13:20:46 +0000 (13:20 +0000)
web/conf/apache1.3/test.conf [new file with mode: 0644]

diff --git a/web/conf/apache1.3/test.conf b/web/conf/apache1.3/test.conf
new file mode 100644 (file)
index 0000000..86c7309
--- /dev/null
@@ -0,0 +1,29 @@
+# $Id: test.conf,v 1.1 2006-09-20 13:20:46 mike Exp $
+#
+# Sample configuration for running an IRSpy web-site under Apache 1.3.
+#
+# This is the configuration that I use on the staging machine,
+# test, which is a PC running Debian GNU/Linux 3.1.
+# 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/test.conf
+#
+# When running on Debian, don't forget to
+# install libapache-request-perl as well as libhtml-mason-perl,
+# otherwise Mason will fail mysteriously.
+
+<VirtualHost 10.0.0.4>
+    ServerName irspy.indexdata.com
+    ErrorLog     /usr/local/src/cvs/irspy/web/logs/error.log
+    CustomLog    /usr/local/src/cvs/irspy/web/logs/access.log combined
+    DocumentRoot /usr/local/src/cvs/irspy/web/htdocs
+    <FilesMatch "\.(html|css)$">
+     SetHandler perl-script
+     PerlHandler HTML::Mason::ApacheHandler
+    </FilesMatch>
+    PerlAddVar MasonCompRoot "private => /usr/local/src/cvs/irspy/web/htdocs"
+    PerlSetVar MasonDataDir              /usr/local/src/cvs/irspy/web/data
+</VirtualHost>