# https://spaces.internet2.edu/display/SHIB2/NativeSPApacheConfig
# RPM installations on platforms with a conf.d directory will
# result in this file being copied into that directory for you
# and preserved across upgrades.
# For non-RPM installs, you should copy the relevant contents of
# this file to a configuration location you control.
#
# Load the Shibboleth module.
#
LoadModule mod_shib @-PKGLIBDIR-@/mod_shib_13.so
#
# An Apache handler needs to be established for the "handler" location.
# This applies the handler to any requests for a resource with a ".sso"
# extension.
#
SetHandler shib-handler
# Another way of addressing this is to apply Shibboleth
# globally to the site in "lazy" session mode:
#
# AuthType shibboleth
# require shibboleth
#
#
# Used for example logo and style sheet in error templates.
#
Alias /shibboleth-sp/main.css @-PKGDOCDIR-@/main.css
Alias /shibboleth-sp/logo.jpg @-PKGDOCDIR-@/logo.jpg
#
# Configure the module for content.
#
# You MUST enable AuthType shibboleth for the module to process
# any requests, and there MUST be a require command as well. To
# enable Shibboleth but not specify any session/access requirements
# use "require shibboleth".
#
AuthType shibboleth
ShibRequestSetting requireSession 1
require valid-user