[js-embedded-discovery] branch master updated: EDS-80 Selective config for Different Apache Versions

Rod Widdowson rdw at steadingsoftware.com
Sun Feb 17 15:20:50 EST 2019


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

rdw pushed a commit to branch master
in repository js-embedded-discovery.

View the commit online:
http://git.shibboleth.net/view/?p=js-embedded-discovery.git;a=commit;h=f5cb32434a7701a9c5daeae1e1c1a3f4feb59a0a

The following commit(s) were added to refs/heads/master by this push:
       new  f5cb324   EDS-80 Selective config for Different Apache Versions
f5cb324 is described below

commit f5cb32434a7701a9c5daeae1e1c1a3f4feb59a0a
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sun Feb 17 14:58:19 2019 -0500

    EDS-80 Selective config for Different Apache Versions
    
    https://issues.shibboleth.net/jira/projects/EDS/issues/EDS-80
    
    > Apache 2.4 uses a new syntax for authorization, so
    > "Allow from all" ( < 2.4 syntax) needs to be
    > "Require all granted".
---
 src/apache/shibboleth-ds.conf | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/apache/shibboleth-ds.conf b/src/apache/shibboleth-ds.conf
index fd46068..d8d25fa 100644
--- a/src/apache/shibboleth-ds.conf
+++ b/src/apache/shibboleth-ds.conf
@@ -2,7 +2,12 @@
 
 <IfModule mod_alias.c>
   <Location /shibboleth-ds>
-    Allow from all
+    <IfVersion >= 2.4>
+      Require all granted
+    </IfVersion>
+    <IfVersion < 2.4>
+      Allow from all
+    </IfVersion>
     <IfModule mod_shib.c>
       AuthType shibboleth
       ShibRequestSetting requireSession false

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list