1. Since the CollabNetSubversion-server-1.5.0-23.win32.exe contains Apache + SSL, the installation process is very simple.
2. Configuration
HTTP. conf
______________________________________________________
Listen 443.
...
Loadmodule ssl_module modules/mod_ssl.so
Loadmodule dav_module modules/mod_dav.so
Loadmodule dav_svn_module modules/mod_dav_svn.so
Loadmodule authz_svn_module modules/mod_authz_svn.so
...
<Virtualhost _ default _: 443>
Sslengine on
Sslcertificatefile CONF/SSL/server. CRT
Sslcertificatekeyfile CONF/SSL/server. Key
</Virtualhost>
...
<Location/SVN>
Dav SVN
Svnparentpath X: \ subversion \ Repository
Authtype basic
Authname "repository server (e2tox )"
Authuserfile "X: \ subversion \ passwords. Auth"
Authzsvnaccessfile "X: \ subversion \ Access. Auth"
Require valid-user
Sslrequiressl
</Location>
........................................ ........................................ .................
Passwords. auth
______________________________________________________
Username: Password
Note: You can also use plain text.
........................................ ........................................ .................
Access. auth
______________________________________________________
[Groups]
Developers = user1, user2, user3
Docs = doc1
[Repo1:/trunk]
@ Developers = RW
@ Docs = r
[Repo2:/trunk]
@ Developers = RW
@ Docs = r
Note: The X: \ subversion \ repository directory contains multiple version libraries: repo1 and repo2.
........................................ ........................................ .................
Server. CRT and server. Key Generation methods are similarArticleFor more information, see Google.
Note that if
[Error] init: sslpassphrasedialog builtin is not supported on Win32 (key file C:/program files/collabnet Subversion server/httpd/CONF/server. Key)
This is because the sslpassphrasedialog dialog box (Enter Password dialog box) cannot be displayed under Win32.
The solution is to leave the challenge password blank while creating the certificate.
End