New
authorMike Taylor <mike@indexdata.com>
Thu, 15 Mar 2007 13:54:01 +0000 (13:54 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 15 Mar 2007 13:54:01 +0000 (13:54 +0000)
web/conf/apache1.3/newshawarma.conf [new file with mode: 0644]

diff --git a/web/conf/apache1.3/newshawarma.conf b/web/conf/apache1.3/newshawarma.conf
new file mode 100644 (file)
index 0000000..ac1b8e1
--- /dev/null
@@ -0,0 +1,37 @@
+# $Id: newshawarma.conf,v 1.1 2007-03-15 13:54:01 mike Exp $
+#
+# Sample configuration for running an IRSpy web-site under Apache 1.3.
+#
+# This is the configuration that I use on the live machine,
+# newshawarma, which is a PC running Debian GNU/Linux 3.1.
+# On this machine, the IRSpy software is at
+#      /home/mike/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 /home/mike/cvs/irspy/web/conf/apache1.3/newshawarma.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 83.133.64.64>
+    ServerName irspy.indexdata.com
+    ErrorLog     /var/log/apache/irspy-error.log
+    CustomLog    /var/log/apache/irspy-access.log combined
+    DocumentRoot /home/mike/cvs/irspy/web/htdocs
+    <FilesMatch "\.(html|css)$">
+     SetHandler perl-script
+     PerlHandler HTML::Mason::ApacheHandler
+    </FilesMatch>
+    PerlAddVar MasonCompRoot "private => /home/mike/cvs/irspy/web/htdocs"
+    PerlSetVar MasonDataDir              /home/mike/cvs/irspy/web/data
+    PerlSetVar IRSpyLibDir               /home/mike/cvs/irspy/lib
+    PerlSetEnv PERL5LIB /home/mike/cvs/irspy/lib
+    <Location /admin>
+       AuthType Basic
+       AuthName "IRSpy Administration"
+       AuthUserFile /home/mike/cvs/irspy/web/conf/htpasswd
+       Require user admin
+    </Location>
+</VirtualHost>