source: package_branches/invirt-web/hvirt/files/etc/apache2/conf.invirt/noauth.mako @ 3002

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

Updated mako templates

File size: 925 bytes
Line 
1<%page args="cfg, invirt_ssl" />
2
3% if cfg.web.sites.noauth.port not in [80, 443]:
4  Listen ${cfg.web.sites.noauth.port}
5% endif
6<VirtualHost *:${cfg.web.sites.noauth.port}>
7        ServerAdmin ${cfg.web.errormail}
8        ServerName ${cfg.web.hostname}:${cfg.web.sites.noauth.port}
9       
10        DocumentRoot /var/www/invirt-web
11        <Directory />
12                Options Indexes FollowSymLinks MultiViews ExecCGI
13                AllowOverride None
14                Order allow,deny
15                allow from all
16        </Directory>
17
18        ErrorLog /var/log/apache2/error.log
19
20        # Possible values include: debug, info, notice, warn, error, crit,
21        # alert, emerg.
22        LogLevel warn
23
24        CustomLog /var/log/apache2/ssl_nocert_access.log combined
25        ServerSignature On
26
27        SSLEngine on
28
29        SSLCertificateFile ${cfg.web.ssl.cert}
30        SSLCertificateKeyFile ${cfg.web.ssl.key}
31       
32        SSLVerifyClient none
33
34        SSLOptions +StdEnvVars
35       
36        SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0       
37</VirtualHost>
Note: See TracBrowser for help on using the repository browser.