This patch builds on the previous one by forcing use of
SSL for downloading the offline patron list. It also
updates the Apache 2.4 example configuration.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>
require valid-user
PerlSendHeader On
allow from all
+ SSLRequireSSL
</Location>
# ----------------------------------------------------------------------------------
Require all granted
</Location>
+# ----------------------------------------------------------------------------------
+# Protect Standalone/Offline mode files from public view
+# ----------------------------------------------------------------------------------
+<Location /standalone/>
+ AuthType Basic
+ AuthName "Standalone Mode Login"
+ PerlOptions +GlobalRequest
+ PerlSetVar OILSProxyPermissions "STAFF_LOGIN"
+ PerlAuthenHandler OpenILS::WWW::Proxy::Authen
+ require valid-user
+ PerlSendHeader On
+ allow from all
+ SSLRequireSSL
+</Location>
# ----------------------------------------------------------------------------------
# Reporting output lives here
function() {
try {
var x = new XMLHttpRequest();
- var url = 'http://' + XML_HTTP_SERVER + '/standalone/list.txt';
+ var url = 'https://' + XML_HTTP_SERVER + '/standalone/list.txt';
x.open("GET",url,false);
x.send(null);
if (x.status == 200) {