Comment on the apparent importance of PerlModule Apache2::Request
[irspy-moved-to-github.git] / web / conf / apache2.0 / cartney-dev.conf
index 37a4a55..6442e68 100644 (file)
@@ -6,6 +6,14 @@
 
 PerlSwitches -I/usr/local/src/git/irspy/lib
 
+# Empirally, it seems that including this next line prevents the bug
+# in which some but not all requests result in the error:
+#      Undefined subroutine &ZOOM::IRSpy::connect_to_registry
+# (This ought not to make any difference, as the Apache2::Request
+# module should of course get loaded from within IRSpy anyway, but you
+# never know with Apache.)
+PerlModule Apache2::Request
+
 <VirtualHost *:80>
     ServerName x.irspy.indexdata.com
     <Directory />