plug in the proxy for logging into vandelay from outside the staff client
[Evergreen.git] / Open-ILS / examples / apache / eg_vhost.conf
index ac9a99d..52e026e 100644 (file)
@@ -316,6 +316,14 @@ AliasMatch ^/vandelay/.*/vandelay.xml(.*) /openils/var/web/vandelay/vandelay.xml
     XMLEntContentType "text/html; charset=utf-8"
     XMLEntStripDoctype "yes"
     AddOutputFilter INCLUDES;XMLENT .xml
     XMLEntContentType "text/html; charset=utf-8"
     XMLEntStripDoctype "yes"
     AddOutputFilter INCLUDES;XMLENT .xml
+       SetHandler perl-script
+       PerlSetVar OILSProxyTitle "Vandelay Login"
+       PerlSetVar OILSProxyDescription "Please log in to import MARC records"
+       PerlSetVar OILSProxyPermissions "IMPORT_MARC"
+       PerlHandler OpenILS::WWW::Proxy
+       Options +ExecCGI
+       PerlSendHeader On
+       allow from all
 </Location>
 <Location /vandelay-upload>
     SetHandler perl-script
 </Location>
 <Location /vandelay-upload>
     SetHandler perl-script