RewriteRule . - [E=locale:%1]
# ----------------------------------------------------------------------------------
+# For sanity reasons, default indexes to Off
+# ----------------------------------------------------------------------------------
+Options -Indexes
+
+# ----------------------------------------------------------------------------------
# Configure the OPAC
# ----------------------------------------------------------------------------------
<LocationMatch /opac/>
# ----------------------------------------------------------------------------------
<Location /exporter>
SetHandler perl-script
- PerlSetVar OILSProxyTitle "Exporter Login"
- PerlSetVar OILSProxyDescription "Please log in with an authorized staff account to export records"
+ AuthType Basic
+ AuthName "Exporter Login"
+ PerlOptions +GlobalRequest
PerlSetVar OILSProxyPermissions "STAFF_LOGIN"
- PerlHandler OpenILS::WWW::Proxy OpenILS::WWW::Exporter
+ PerlAuthenHandler OpenILS::WWW::Proxy::Authen
+ require valid-user
+ PerlHandler OpenILS::WWW::Exporter
Options +ExecCGI
PerlSendHeader On
allow from all
<Location /opac/extras/merge_template>
SetHandler perl-script
- PerlSetVar OILSProxyTitle "Batch Update Login"
- PerlSetVar OILSProxyDescription "Please log in to update records in batch"
+ AuthType Basic
+ AuthName "Batch Update Login"
+ PerlOptions +GlobalRequest
PerlSetVar OILSProxyPermissions "STAFF_LOGIN"
- PerlHandler OpenILS::WWW::Proxy OpenILS::WWW::TemplateBatchBibUpdate
+ PerlAuthenHandler OpenILS::WWW::Proxy::Authen
+ require valid-user
+ PerlHandler OpenILS::WWW::TemplateBatchBibUpdate
PerlSendHeader On
Options +ExecCGI
allow from all
</Location>
<Location /opac/extras/circ>
- SetHandler perl-script
- PerlSetVar OILSProxyTitle "Circ Extras Login"
- PerlSetVar OILSProxyDescription "Please log in with an authorized staff account to export records"
+ AuthType Basic
+ AuthName "Circ Extras Login"
+ PerlOptions +GlobalRequest
PerlSetVar OILSProxyPermissions "STAFF_LOGIN"
- PerlHandler OpenILS::WWW::Proxy
+ PerlAuthenHandler OpenILS::WWW::Proxy::Authen
+ require valid-user
Options +ExecCGI
PerlSendHeader On
allow from all
# Reporting output lives here
# ----------------------------------------------------------------------------------
<Location /reporter/>
- SetHandler perl-script
- PerlSetVar OILSProxyTitle "Report Login"
- PerlSetVar OILSProxyDescription "Please log in with an authorized staff account to view this report"
+ AuthType Basic
+ AuthName "Report Login"
+ PerlOptions +GlobalRequest
PerlSetVar OILSProxyPermissions "VIEW_REPORT_OUTPUT"
- PerlHandler OpenILS::WWW::Proxy
+ PerlAuthenHandler OpenILS::WWW::Proxy::Authen
+ require valid-user
Options +ExecCGI
PerlSendHeader On
allow from all
# Selfcheck interface
# ----------------------------------------------------------------------------------
<LocationMatch .*/selfcheck.xml>
- SetHandler perl-script
- PerlSetVar OILSProxyTitle "Self-check Login"
- PerlSetVar OILSProxyDescription "Please log in with an authorized staff account to activate the self-check interface"
+ AuthType Basic
+ AuthName "Self-check Login"
+ PerlOptions +GlobalRequest
PerlSetVar OILSProxyPermissions "STAFF_LOGIN"
- PerlHandler OpenILS::WWW::Proxy
+ PerlAuthenHandler OpenILS::WWW::Proxy::Authen
+ require valid-user
Options +ExecCGI
PerlSendHeader On
allow from all
XMLEntContentType "text/html; charset=utf-8"
AddOutputFilter INCLUDES;XMLENT .html
- SetHandler perl-script
- PerlSetVar OILSProxyTitle "Dojo Admin Login"
- PerlSetVar OILSProxyDescription "Please log in with an authorized staff account to administer Evergreen"
+ AuthType Basic
+ AuthName "Dojo Admin Login"
+ PerlOptions +GlobalRequest
PerlSetVar OILSProxyPermissions "STAFF_LOGIN"
- PerlHandler OpenILS::WWW::Proxy
+ PerlAuthenHandler OpenILS::WWW::Proxy::Authen
+ require valid-user
Options +ExecCGI
PerlSendHeader On
allow from all