Update comments in Apache configs
[shibboleth/cpp-sp.git] / configs / apache2.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_20.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 @-PKGXMLDIR-@
18 ShibConfig @-PKGSYSCONFDIR-@/shibboleth.xml
19
20 #
21 # Used for example logo and style sheet in error templates.
22 #
23 <IfModule mod_alias.c>
24   Alias /shibtarget/main.css @-PREFIX-@/doc/shibboleth/main.css
25   Alias /shibtarget/logo.jpg @-PREFIX-@/doc/shibboleth/logo.jpg
26 </IfModule>
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 requirements
35 # use "require shibboleth".
36 #
37 <Location /secure>
38   AuthType shibboleth
39   ShibRequireSession On
40   require valid-user
41 </Location>