document debian dependencies
[irspy-moved-to-github.git] / web / conf / apache2.0 / cfspy.conf
index d721dab..10d4622 100644 (file)
@@ -1,32 +1,38 @@
-# $Id: cfspy.conf,v 1.1 2009-04-15 18:20:15 wosch Exp $
+# $Id: cfspy.conf,v 1.4 2009-04-16 18:31:20 wosch Exp $
 #
-# Sample configuration for running an IRSpy web-site under Apache 1.3.
+# Sample configuration for running an IRSpy web-site under Apache 2.x.
 #
-# 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 is the configuration that I use on the development machine us2
+#      /home/wosch/indexdata/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
+#      Include /home/wosch/indexdata/irspy/web/conf/apache2.0/cfspy.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.
+#
+# For Apache 2.x
+#  sudo apt-get install libxml-libxslt-perl 
+#  sudo apt-get install libhtml-mason-perl
+#  sudo apt-get install libapache2-request-perl
 
 #NameVirtualHost 192.168.1.75
 
 <VirtualHost *:80>
     ServerName cfspy.indexdata.com
 
-    ErrorLog     /var/log/apache2/irspy-error.log
-    CustomLog    /var/log/apache2/irspy-access.log combined
+    ErrorLog     /var/log/apache2/cfspy-error.log
+    CustomLog    /var/log/apache2/cfspy-access.log combined
     DocumentRoot /home/wosch/indexdata/irspy/web/htdocs
     <FilesMatch "\.(html|css)$">
      SetHandler perl-script
      PerlHandler HTML::Mason::ApacheHandler
     </FilesMatch>
+
+    PerlSetVar MasonArgsMethod mod_perl
+
     PerlAddVar MasonCompRoot "private => /home/wosch/indexdata/irspy/web/htdocs"
     PerlSetVar MasonDataDir              /home/wosch/indexdata/irspy/web/data
     PerlSetVar IRSpyLibDir               /home/wosch/indexdata/irspy/lib
@@ -43,3 +49,4 @@
        Require user admin
     </Location>
 </VirtualHost>
+