Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/irspy
[irspy-moved-to-github.git] / web / conf / apache2.0 / irspy.conf
index d7bc973..db43e05 100644 (file)
@@ -31,6 +31,8 @@
     PerlSetVar IRSpyLibDir               /usr/local/src/git/irspy/lib
     PerlSetEnv PERL5LIB /usr/local/src/git/irspy/lib
 
+    #PerlSetEnv IRSpyDbName    localhost:8018/IR-Explain---1
+
    # We need +Parent to make PerlSwitches -I work properly ... don't ask.
    PerlOptions +Parent
    PerlSwitches -I/usr/local/src/git/irspy/lib
        AuthUserFile /usr/local/src/git/irspy/web/conf/htpasswd
        Require user admin
     </Location>
+
+    ProxyRequests off
+    <Proxy *>
+      Order deny,allow
+      Allow from all
+    </Proxy>
+    ProxyPass         /toroid/ http://localhost:3000/
+    ProxyPassReverse  /toroid/ http://localhost:3000/
 </VirtualHost>