From 5350c81388c51dac37ccebec649f18453c9e1aa3 Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Thu, 23 Feb 2023 12:44:00 -0500 Subject: [PATCH] LP2008252: Fix report output access when Shibboleth is enabled When mod_shib is enabled use the ShibCompatValidUser option to ensure report outputs load correctly. Additionally, since it's SSO related, mention the sso_loc variable in a comment for the apache config. Signed-off-by: Jason Boyer Signed-off-by: Jeff Davis Signed-off-by: Galen Charlton --- Open-ILS/examples/apache_24/eg.conf.in | 6 ++++++ Open-ILS/examples/apache_24/eg_vhost.conf.in | 5 +++++ 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/Open-ILS/examples/apache_24/eg.conf.in b/Open-ILS/examples/apache_24/eg.conf.in index 0733794..64bd3cb 100644 --- a/Open-ILS/examples/apache_24/eg.conf.in +++ b/Open-ILS/examples/apache_24/eg.conf.in @@ -118,6 +118,12 @@ ExpiresByType text/css "access plus 1 year" # # SetEnv carousel_loc 1 + # Uncomment and set this variable to the id of the context org unit + # you want to provide SSO / Shibboleth settings for this vhost. + # If sso_loc is not set physical_loc will be used instead + # + # SetEnv sso_loc 1 + # If you don't have an SSL cert, you can create self-signed # certificate and key with: # openssl req -new -x509 -nodes -out server.crt -keyout server.key diff --git a/Open-ILS/examples/apache_24/eg_vhost.conf.in b/Open-ILS/examples/apache_24/eg_vhost.conf.in index aed61b6..e6ead93 100644 --- a/Open-ILS/examples/apache_24/eg_vhost.conf.in +++ b/Open-ILS/examples/apache_24/eg_vhost.conf.in @@ -523,6 +523,11 @@ RewriteRule .? - [E=locale:%{HTTP:Accept-Language}] PerlSendHeader On +# Currently required for access to reports when Shibboleth is enabled; may not be necessary once Angularized? + + ShibCompatValidUser On + + # ---------------------------------------------------------------------------------- # Reports GUI # ---------------------------------------------------------------------------------- -- 1.7.2.5