From 39e225e2916c4055c1e37ac7f754388b1f2e37a9 Mon Sep 17 00:00:00 2001 From: Henrik Lund Kramshoej Date: Fri, 14 Jul 2017 11:06:08 +0200 Subject: Enabling include for debugging --- apache-sp/Dockerfile | 2 +- apache-sp/apache-conf/sp.conf | 1 + apache-sp/secure/index.shtml | 15 +++++++++++++-- 3 files changed, 15 insertions(+), 3 deletions(-) (limited to 'apache-sp') diff --git a/apache-sp/Dockerfile b/apache-sp/Dockerfile index 27f5013..34db59a 100644 --- a/apache-sp/Dockerfile +++ b/apache-sp/Dockerfile @@ -3,7 +3,7 @@ MAINTAINER Markus Krogh RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections RUN apt-get update && apt-get -y install apache2 libapache2-mod-shib2 ssl-cert curl -RUN a2enmod shib2 headers ssl +RUN a2enmod shib2 headers ssl include RUN rm -f /etc/apache2/sites-available/* /etc/apache2/sites-enabled/* ADD apache-conf/*.conf /etc/apache2/sites-available/ diff --git a/apache-sp/apache-conf/sp.conf b/apache-sp/apache-conf/sp.conf index f4ba576..49214b3 100644 --- a/apache-sp/apache-conf/sp.conf +++ b/apache-sp/apache-conf/sp.conf @@ -43,6 +43,7 @@ SSLHonorCipherOrder on ShibRequireSession On require valid-user Options +Includes + Require all granted Header set X_REMOTE_USER %{eppn}e Header set EPPN %{eppn}e Header set GIVENNAME %{givenName}e diff --git a/apache-sp/secure/index.shtml b/apache-sp/secure/index.shtml index e7215ea..8ed476e 100644 --- a/apache-sp/secure/index.shtml +++ b/apache-sp/secure/index.shtml @@ -6,7 +6,18 @@

Environment

-
-
+

Test

+

+ +
+ -- cgit v1.1