Add IRSPY_COUNTER_FILE setting to live config.
[irspy-moved-to-github.git] / 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