%page args="cfg, invirt_ssl" />
Listen ${cfg.web.sites.svn.port}
ServerAdmin ${cfg.web.errormail}
ServerName ${cfg.web.hostname}:${cfg.web.sites.svn.port}
Options FollowSymLinks
AllowOverride None
DAV svn
SVNPath ${cfg.web.svn.repopath}
AuthType Basic
AuthName "${cfg.web.svn.authname}"
AuthUserFile ${cfg.web.svn.get('dav', '/etc/apache2/dav_svn.passwd')}
Require valid-user
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/svn_access.log combined
ServerSignature On
SSLEngine on
SSLCertificateFile ${cfg.web.ssl.cert}
SSLCertificateKeyFile ${cfg.web.ssl.key}
Alias /${cfg.web.svn.alias} /${cfg.web.svn.localpath}
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all