[shibboleth-sp2] 01/04: Install upstream's default Apache 2.4 configuration

Etienne Dysli Metref edm-guest at moszumanska.debian.org
Mon Nov 27 08:28:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

edm-guest pushed a commit to branch edm/debian/bug881724
in repository shibboleth-sp2.

commit 21a935be37331fafaee6daf7fa2be36779a54613
Author: Etienne Dysli Metref <etienne.dysli-metref at switch.ch>
Date:   Tue Nov 14 16:35:00 2017 +0100

    Install upstream's default Apache 2.4 configuration
    
    Install upstream's default Apache 2.4 configuration in addition to the
    module-loading directive. Notably, this configuration enables
    unrestricted access to the handler at `/Shibboleth.sso`.
---
 debian/libapache2-mod-shib2.apache2 |  1 +
 debian/shib2.conf                   | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)

diff --git a/debian/libapache2-mod-shib2.apache2 b/debian/libapache2-mod-shib2.apache2
index 923dd0c..3ccf1cd 100644
--- a/debian/libapache2-mod-shib2.apache2
+++ b/debian/libapache2-mod-shib2.apache2
@@ -1 +1,2 @@
 mod debian/shib2.load
+mod debian/shib2.conf
diff --git a/debian/shib2.conf b/debian/shib2.conf
new file mode 100644
index 0000000..250123b
--- /dev/null
+++ b/debian/shib2.conf
@@ -0,0 +1,25 @@
+#
+# Turn this on to support "require valid-user" rules from other
+# mod_authn_* modules, and use "require shib-session" for anonymous
+# session-based authorization in mod_shib.
+#
+ShibCompatValidUser Off
+
+#
+# Ensures handler will be accessible.
+#
+<Location /Shibboleth.sso>
+  AuthType None
+  Require all granted
+</Location>
+
+#
+# Used for example style sheet in error templates.
+#
+<IfModule mod_alias.c>
+  <Location /shibboleth-sp>
+    AuthType None
+    Require all granted
+  </Location>
+  Alias /shibboleth-sp/main.css /usr/share/shibboleth/main.css
+</IfModule>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list