plug in the proxy for logging into vandelay from outside the staff client
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 26 Sep 2008 19:39:57 +0000 (19:39 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 26 Sep 2008 19:39:57 +0000 (19:39 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10712 dcc99617-32d9-48b4-a31d-7c20da2025e4

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