enable robots.txt for irspy-test
[irspy-moved-to-github.git] / web / conf / apache2.0 / irspy-test.conf
index bc53345..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