Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into fibre
[myslice.git] / apache / sp-fibre / shibboleth-myslice
1 <VirtualHost 200.130.15.182:443>
2         ServerName      200.130.15.182
3         ServerSignature Off
4
5         SSLEngine               on
6         #SSLCertificateFile      /etc/unfold/trusted_roots
7         SSLCertificateFile      /etc/ssl/certs/fibre.crt
8         SSLCertificateKeyFile   /etc/ssl/private/fibre.key
9
10         #ShibURLScheme https
11
12         DocumentRoot /var/www/
13         <Directory /var/www/>
14                 Options -Indexes FollowSymLinks -MultiViews
15                 AllowOverride None
16                 Order deny,allow
17                 Allow from all
18         </Directory>
19
20 #        WSGIScriptAlias / /usr/share/unfold/apache/myslice.wsgi
21 #        <Directory /usr/share/unfold/apache>
22 #        <Files myslice.wsgi>
23 #        Order deny,allow
24 #        Allow from all
25 #        </Files>
26 #        </Directory>
27 #        Alias /static/ /usr/share/unfold/static/
28 #        <Directory /usr/share/unfold/static>
29 #        Order deny,allow
30 #        Allow from all
31 #        </Directory>
32
33
34 #<Location myslice/secure>
35 #       AuthType Shibboleth
36 #       ShibRequestSetting requireSession true
37 #        ShibRequestSetting applicationId default
38 #       Require valid-user
39 #</Location>
40
41 <Location /Shibboleth.sso>
42   SetHandler shib
43 </Location>
44 <Location /shibboleth-sp2>
45   SetHandler shib
46 </Location>
47
48
49 #         <Location /moodle/auth/shibboleth>
50 #                 AuthType shibboleth
51 #                 ShibRequireSession On
52 #                 require valid-user
53 #         </Location>
54
55         # Possible values include: debug, info, notice, warn, error, crit,
56         # alert, emerg.
57         ErrorLog /var/log/apache2/error.log
58         LogLevel info
59         CustomLog /var/log/apache2/sp-access-443.log combined
60
61 </VirtualHost>