Fix backslashes in SHIBSP_PREFIX variable by manually creating it during the script...
[shibboleth/sp.git] / configs / apache2.config.in
1 # RPM installations on platforms with a conf.d directory will
2 # result in this file being copied into that directory for you.
3 # For non-RPM installs, you can add this file to your
4 # configuration using an Include command in httpd.conf
5
6 ######
7 ## SHIB Config
8 ######
9
10 #
11 # Load the SHIBBOLETH module
12 #
13 LoadModule mod_shib @-PKGLIBDIR-@/mod_shib_20.so
14
15 #
16 # Used for example logo and style sheet in error templates.
17 #
18 <IfModule mod_alias.c>
19   <Location /shibboleth-sp>
20     Allow from all
21   </Location>
22   Alias /shibboleth-sp/main.css @-PKGDOCDIR-@/main.css
23   Alias /shibboleth-sp/logo.jpg @-PKGDOCDIR-@/logo.jpg
24 </IfModule>
25
26 #
27 # Configure the module for content
28 #
29 # You can now do most of this in shibboleth.xml using the RequestMap
30 # but you MUST enable AuthType shibboleth for the module to process
31 # any requests, and there MUST be a require command as well. To
32 # enable Shibboleth but not specify any session/access requirements
33 # use "require shibboleth".
34 #
35 <Location /secure>
36   AuthType shibboleth
37   ShibRequireSession On
38   require valid-user
39 </Location>