Add IRSPY_COUNTER_FILE setting to live config.
authorMike Taylor <mike@indexdata.com>
Thu, 11 Dec 2014 11:44:17 +0000 (11:44 +0000)
committerMike Taylor <mike@indexdata.com>
Thu, 11 Dec 2014 11:44:17 +0000 (11:44 +0000)
Add -I perl-indexdata-utils/lib to PerlSwitches and PERL5LIB setting.
(I am not 100% certain which of these works on the live site.)

web/conf/apache2.0/irspy.conf

index 3ba0447..f742d2d 100644 (file)
@@ -34,13 +34,14 @@ MaxClients 32
     PerlAddVar MasonCompRoot "private => /home/indexdata/irspy/web/htdocs"
     PerlSetVar MasonDataDir              /home/indexdata/irspy/web/data
     PerlSetVar IRSpyLibDir               /home/indexdata/irspy/lib
-    PerlSetEnv PERL5LIB                 /home/indexdata/irspy/lib
+    PerlSetEnv PERL5LIB                 /home/indexdata/irspy/lib:/home/indexdata/perl-indexdata-utils/lib
+    PerlSetEnv IRSPY_COUNTER_FILE        /home/indexdata/irspy/zebra/db/counter
 
     #PerlSetEnv IRSpyDbName    localhost:8018/IR-Explain---1
 
    # We need +Parent to make PerlSwitches -I work properly ... don't ask.
    PerlOptions +Parent
-   PerlSwitches -I/home/indexdata/irspy/lib
+   PerlSwitches -I/home/indexdata/irspy/lib -I/home/indexdata/perl-indexdata-utils/lib
 
     <Location /admin>
        AuthType Basic