source: package_branches/invirt-web/hvirt/files/etc/apache2/conf.invirt/svn.mako @ 2918

Last change on this file since 2918 was 2918, checked in by gdb, 14 years ago

Put svn.mako into conf.invirt

File size: 1.1 KB
Line 
1<%page args="cfg, invirt_ssl" />
2
3Listen ${cfg.web.sites.svn.port}
4<VirtualHost *:${cfg.web.sites.svn.port}>
5        ServerAdmin ${cfg.web.errormail}
6        ServerName ${cfg.web.hostname}:${cfg.web.sites.svn.port}
7       
8        <Directory />
9                Options FollowSymLinks
10                AllowOverride None
11        </Directory>
12        <Location />
13                DAV svn
14                SVNPath ${cfg.web.svn.repopath}
15                AuthType Basic
16                AuthName "${cfg.web.svn.authname}"
17                AuthUserFile ${cfg.web.svn.get('dav', '/etc/apache2/dav_svn.passwd')}
18                <LimitExcept GET PROPFIND OPTIONS REPORT>
19                        Require valid-user
20                </LimitExcept>
21        </Location>
22
23        ErrorLog /var/log/apache2/error.log
24
25        # Possible values include: debug, info, notice, warn, error, crit,
26        # alert, emerg.
27        LogLevel warn
28
29        CustomLog /var/log/apache2/svn_access.log combined
30        ServerSignature On
31
32        SSLEngine on
33
34        SSLCertificateFile ${cfg.web.ssl.cert}
35        SSLCertificateKeyFile ${cfg.web.ssl.key}
36</VirtualHost>
37
38Alias /${cfg.web.svn.alias} /${cfg.web.svn.localpath}
39
40<Directory /${cfg.web.svn.localpath}>
41                Options Indexes FollowSymLinks MultiViews
42                AllowOverride None
43                Order allow,deny
44                allow from all
45</Directory>
Note: See TracBrowser for help on using the repository browser.