<IfDefine SVN>
LoadModule dav_svn_module modules/mod_dav_svn.so
<IfDefine SVN_AUTHZ>
LoadModule authz_svn_module modules/mod_authz_svn.so
</IfDefine>
<VirtualHost *:80>
ServerName yyy.xxx.dk
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>
<VirtualHost *:443>
ServerName yyy.xxx.dk
DocumentRoot /var/www/localhost/htdocs
<Directory "/var/www/localhost/htdocs">
SSLRequireSSL
Options FollowSymLinks
Order allow,deny
Allow from all
</Directory>
SSLEngine on
SSLCertificateFile /etc/ssl/private/xxx.crt
SSLCertificateKeyFile /etc/ssl/private/xxx.key
SSLOptions StrictRequire
SSLProtocol all -SSLv2
PerlLoadModule Apache::Redmine
<Location />
DAV svn
SVNParentPath /var/svn
Order deny,allow
Deny from all
Satisfy any
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
AuthType Basic
AuthName "xxx"
<Limit GET PROPFIND OPTIONS REPORT>
Require valid-user
Allow from xxx.xx.xxx.xx
Satisfy any
</Limit>
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
RedmineDSN "DBI:mysql:database=redmine;host=localhost"
RedmineDbUser "redmine"
RedmineDbPass "xxxx"
</Location>
</VirtualHost>
</IfDefine>