Use shibboleth-sp as package name for compatibility.
[shibboleth/cpp-sp.git] / configs / apache22.config.in
index 07869f3..ca3de20 100644 (file)
@@ -18,8 +18,6 @@ LoadModule mod_shib @-PKGLIBDIR-@/mod_shib_22.so
 <Location /Shibboleth.sso>
   Satisfy Any
   Allow from all
-  AuthType None
-  Require all granted
 </Location>
 
 #
@@ -29,8 +27,6 @@ LoadModule mod_shib @-PKGLIBDIR-@/mod_shib_22.so
   <Location /shibboleth-sp>
     Satisfy Any
     Allow from all
-    AuthType None
-    Require all granted
   </Location>
   Alias /shibboleth-sp/main.css @-PKGWEBDIR-@/main.css
 </IfModule>
@@ -45,6 +41,7 @@ LoadModule mod_shib @-PKGLIBDIR-@/mod_shib_22.so
 #
 <Location /secure>
   AuthType shibboleth
+  ShibCompatWith24 On
   ShibRequestSetting requireSession 1
-  require valid-user
+  require shib-session
 </Location>