From: Jason Stephenson <jason@sigio.com>
Date: Fri, 9 Feb 2018 15:59:37 +0000 (-0500)
Subject: LP#1748466: Fix http -> https /eg/staff rewrite on Apache 2.4.
X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ba4c86439b16126e37b4e3c691afe11b64b028f4;p=contrib%2FConifer.git

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>
---

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"