Another correction to older Apache configs
[shibboleth/sp.git] / configs / apache.config.in
index 4eaa51f..ba46f6b 100644 (file)
@@ -1,4 +1,4 @@
-# https://spaces.internet2.edu/display/SHIB2/NativeSPApacheConfig
+# https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPApacheConfig
 
 # RPM installations on platforms with a conf.d directory will
 # result in this file being copied into that directory for you
@@ -18,22 +18,26 @@ LoadModule mod_shib @-PKGLIBDIR-@/mod_shib_13.so
 # extension.
 #
 <Files *.sso>
-SetHandler shib-handler
+  SetHandler shib-handler
 </Files>
 
-# Another way of addressing this is to apply Shibboleth
-# globally to the site in "lazy" session mode:
-# <Location />
-# AuthType shibboleth
-# require shibboleth
-# </Location>
+#
+# Ensures handler will be accessible.
+#
+<Location /Shibboleth.sso>
+  Satisfy Any
+  Allow from all
+</Location>
 
 #
-# Used for example logo and style sheet in error templates.
+# Used for example style sheet in error templates.
 #
 <IfModule mod_alias.c>
-  Alias /shibboleth-sp/main.css @-PKGDOCDIR-@/main.css
-  Alias /shibboleth-sp/logo.jpg @-PKGDOCDIR-@/logo.jpg
+  Alias /shibboleth-sp/main.css @-PKGWEBDIR-@/main.css
+  <Location /shibboleth-sp>
+    Satisfy Any
+    Allow from all
+  </Location>
 </IfModule>
 
 #