Windows Svn+apache to build SVN server
Using software:
Apache_2.0.55-win32-x86-no_ssl.msi
Setup-subversion-1.5.3.msi
Tortoisesvn-1.5.10.16879-win32-svn-1.5.7.msi
First, install the Apache server
Install Apache_2.0.55-win32-x86-no_ssl.msi, start is need to set up the URL ah, the mailbox Ah, casually set (real does not exist are no problem), and then is basically no brain next step
127.0.01 can access when the test is installed, the default is 80 ports, if 80 ports have been occupied, please modify the configuration file to modify the port number
Install SVN server side and client
Install Setup-subversion-1.5.3.msi, Midway installation will choose the Apache server version, choose 2.0.x, and then the next step is no brain installation is complete.
Next install Tortoisesvn-1.5.10.16879-win32-svn-1.5.7.msi, continue to have no brain, do not do more than explain.
Third, configure SVN and Apache
1, copy subversionbin The following mod_authz_svn.so, Mod_dav_svn.so, Libdb44.dll, Libeay32.dll, Ssleay32.dll to the Apache installation directory under the Modules folder.
2, configure the Apache installation directory of the Conf folder under the httpd.conf file, find
#LoadModule Dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so Remove #, and then add two lines under these two lines
LoadModule Dav_svn_module modules/mod_dav_svn.so
LoadModule Authz_svn_module modules/mod_authz_svn.so
And after the last line is added
<Location/svn/>
DAV SVN
Svnparentpath C:SVN
AuthType Basic
AuthName "Test"
AuthUserFile "C:SVNPASSWD"
Authzsvnaccessfile "C:svnsvnaccessfile"
Require Valid-user
</Location>
3. Configure passwd and Svnaccessfile
Using the cmd command, CD to the Apache Bin directory, using htpasswd-c c:svnpasswd admin is added admin users, the new users do not have to-C,-D is to delete the user
Then c:svn the next new Svnaccessfile file, open with Notepad, add
[Groups]
admin = Admin
user = Test
[/]
* = R
@admin = RW
@user = RW
[Test:/svn/test]
Note the order before and after
5, then c:svntest down right click Create repository here
4, restart the Apche server, use Http://127.0.0.1/svn/test enter the configured account password is successfully opened.