Skip to content

Instantly share code, notes, and snippets.

@ztraboo
Created May 24, 2014 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ztraboo/324e1b599d21a8aa4876 to your computer and use it in GitHub Desktop.
Save ztraboo/324e1b599d21a8aa4876 to your computer and use it in GitHub Desktop.
# Global Configuration
# This is the XML file that contains all the global, non-apache-specific
# configuration. Look at this file for most of your configuration parameters.
ShibConfig shibboleth2.xml
# Used for example logo and style sheet in error templates.
<IfModule mod_alias.c>
<Location /shibboleth-sp>
Allow from all
</Location>
Alias /shibboleth-sp/main.css /usr/share/shibboleth/main.css
Alias /shibboleth-sp/logo.jpg /usr/share/shibboleth/logo.jpg
</IfModule>
#
# 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".
#
<Location /secure>
AuthType shibboleth
ShibRequireSession On
ShibUseHeaders On
ShibExportAssertion On
require valid-user
# require ATTRIBUTE_NAME VALUE1 VALUE2 ... VALUEn
</Location>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment