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

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

Fixed up config in svn

File size: 1.1 KB
RevLine 
[2918]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
[2919]14                SVNPath ${cfg.web.sites.svn.repopath}
[2918]15                AuthType Basic
[2919]16                AuthName "${cfg.web.sites.svn.authname}"
17                AuthUserFile ${cfg.web.sites.svn.get('dav', '/etc/apache2/dav_svn.passwd')}
[2918]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
[2919]38Alias ${cfg.web.sites.svn.alias} ${cfg.web.sites.svn.localpath}
[2918]39
[2919]40<Directory /${cfg.web.sites.svn.localpath}>
[2918]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.