From ba4c86439b16126e37b4e3c691afe11b64b028f4 Mon Sep 17 00:00:00 2001
From: Jason Stephenson <jason@sigio.com>
Date: Fri, 9 Feb 2018 10:59:37 -0500
Subject: [PATCH] LP#1748466: Fix http -> https /eg/staff rewrite on Apache
 2.4.

Remove the SSLRequireSSL directive from the Location /eg/staff stanza
in Open-ILS/examples/apache_24/eg_vhost.conf.in so that the rewrite
from http to https works for the web staff client without the user
getting a 403.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Ben Shum <ben@evergreener.net>
---
 Open-ILS/examples/apache_24/eg_vhost.conf.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Open-ILS/examples/apache_24/eg_vhost.conf.in b/Open-ILS/examples/apache_24/eg_vhost.conf.in
index 11fc752fc2..af01d36031 100644
--- a/Open-ILS/examples/apache_24/eg_vhost.conf.in
+++ b/Open-ILS/examples/apache_24/eg_vhost.conf.in
@@ -788,7 +788,6 @@ RewriteRule ^/openurl$ ${openurl:%1} [NE,PT]
 </Location>
 
 <LocationMatch /eg/staff/>
-    SSLRequireSSL
     Options -MultiViews
     PerlSetVar OILSWebStopAtIndex "true"
 
-- 
2.11.0