enable robots.txt for irspy-test
[irspy-moved-to-github.git] / web / conf / apache2.0 / irspy-test.conf
index fc2c60e..c091986 100644 (file)
@@ -16,6 +16,9 @@
     ErrorLog     /var/log/apache2/irspy-test-error.log
     CustomLog    /var/log/apache2/irspy-test-access.log combined
     DocumentRoot /usr/local/src/git/irspy-test/web/htdocs
     ErrorLog     /var/log/apache2/irspy-test-error.log
     CustomLog    /var/log/apache2/irspy-test-access.log combined
     DocumentRoot /usr/local/src/git/irspy-test/web/htdocs
+
+    Alias /robots.txt /usr/local/src/git/irspy-test/web/htdocs/robots-test.txt
+
     <FilesMatch "\.(html|css)$">
      SetHandler perl-script
      PerlHandler HTML::Mason::ApacheHandler
     <FilesMatch "\.(html|css)$">
      SetHandler perl-script
      PerlHandler HTML::Mason::ApacheHandler
@@ -26,6 +29,8 @@
     PerlAddVar MasonCompRoot "private => /usr/local/src/git/irspy-test/web/htdocs"
     PerlSetVar MasonDataDir              /usr/local/src/git/irspy-test/web/data
     PerlSetVar IRSpyLibDir               /usr/local/src/git/irspy-test/lib
     PerlAddVar MasonCompRoot "private => /usr/local/src/git/irspy-test/web/htdocs"
     PerlSetVar MasonDataDir              /usr/local/src/git/irspy-test/web/data
     PerlSetVar IRSpyLibDir               /usr/local/src/git/irspy-test/lib
+    PerlSetEnv IRSpyDbName     localhost:8019/IR-Explain---1
+
     PerlSetEnv PERL5LIB /usr/local/src/git/irspy/lib
 
    # We need +Parent to make PerlSwitches -I work properly ... don't ask.
     PerlSetEnv PERL5LIB /usr/local/src/git/irspy/lib
 
    # We need +Parent to make PerlSwitches -I work properly ... don't ask.