source: package_branches/invirt-web/hvirt/files/etc/apache2/conf.invirt/cas.mako @ 2990

Last change on this file since 2990 was 2922, checked in by gdb, 15 years ago

Updated mako templates

File size: 530 bytes
Line 
1<%page args="cfg, invirt_ssl" />
2
3% if cfg.web.sites.cas.port not in [80, 443]:
4  Listen ${cfg.web.sites.cas.port}
5% endif
6CASLoginURL ${cfg.web.sites.cas.login}
7CASValidateURL ${cfg.web.sites.cas.validate}
8CASValidateServer Off
9<VirtualHost *:${cfg.web.sites.cas.port}>
10        ServerAdmin ${cfg.web.errormail}
11        ServerName ${cfg.web.hostname}:${cfg.web.sites.cas.port}
12        <%call expr="invirt_ssl()">
13            AuthType CAS
14            AuthName "${cfg.web.sites.cas.authname}"
15            Require valid-user
16        </%call>
17        SSLVerifyClient require
18</VirtualHost>
Note: See TracBrowser for help on using the repository browser.