Fix the names of the (new) apache modules
[shibboleth/cpp-sp.git] / configs / apache.config.in
1 # ADD THIS TO THE END OF YOUR APACHE'S HTTPD.CONF
2
3 ######
4 ## SHIB Config
5 ######
6
7 #
8 # Load the Shibboleth module.
9 #
10 LoadModule mod_shib @-LIBEXECDIR-@/mod_shib_13.so
11
12 #
13 # Global Configuration
14 # This is the XML file that contains all the global, non-apache-specific
15 # configuration.  Look at this file for most of your configuration parameters.
16 #
17 ShibSchemaDir @-PKGSYSCONFDIR-@
18 ShibConfig @-PKGSYSCONFDIR-@/shibboleth.xml
19
20 #
21 # A handler needs to be established for the SHIRE URL
22 # This matches up to the shireURL setting in shibboleth.xml
23 #
24 <Location /Shibboleth.shire>
25 SetHandler shib-shire-post
26 </Location>
27
28 #
29 # Configure the module for content
30 #
31 # You can now do most of this in shibboleth.xml using the RequestMap
32 # but you MUST enable AuthType shibboleth for the module to process
33 # any requests, and there MUST be a require command as well. To
34 # enable Shibboleth but not specify any session/access requirement
35 # use "require Shibboleth".
36 #
37 <Location /secure>
38   AuthType shibboleth
39   ShibRequireSession On
40   require valid-user
41 </Location>