I had to yum install mod_dav_svn and mod_ssl so I could setup an https connection to my server. Then I installed the certificates in /etc/httpd/conf.d and pointed the ssl.conf file in that folder to the certificates and that was it.
I edited the httpd.conf file so that it doesn't listen to port 80 (no http) and added the following text
# Subversion settingFinally, I only opened port 443 for https on the firewall.
<Location /svn>
DAV svn
SVNParentPath /path/to/svn/repos
# Authentication: Basic
AuthName "Subversion repository"
AuthType Basic
AuthUserFile /path/to/auth/file
# Authorization: Authenticated users only
Require valid-user
</Location>
No comments:
Post a Comment