Port fastcgi code to trunk.
[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 @-PKGLIBDIR-@/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 @-XMLDIR-@/xmltooling/catalog.xml:@-XMLDIR-@/opensaml/saml20-catalog.xml:@-XMLDIR-@/opensaml/saml11-catalog.xml:@-XMLDIR-@/shibboleth/catalog.xml
18 ShibConfig @-PKGSYSCONFDIR-@/shibboleth2.xml
19
20 #
21 # Used for example logo and style sheet in error templates.
22 #
23 <IfModule mod_alias.c>
24   <Location /shibboleth-sp>
25     Allow from all
26   </Location>
27   Alias /shibboleth-sp/main.css @-PKGDOCDIR-@/main.css
28   Alias /shibboleth-sp/logo.jpg @-PKGDOCDIR-@/logo.jpg
29 </IfModule>
30
31 #
32 # Configure the module for content
33 #
34 # You can now do most of this in shibboleth.xml using the RequestMap
35 # but you MUST enable AuthType shibboleth for the module to process
36 # any requests, and there MUST be a require command as well. To
37 # enable Shibboleth but not specify any session/access requirements
38 # use "require shibboleth".
39 #
40 <Location /secure>
41   AuthType shibboleth
42   ShibRequireSession On
43   require valid-user
44 </Location>