1. go to http://subversion.tigris.org/ to download svn package for your particular Apache version (I have already got wamp server installed on my server with 2.2.8 version of Apache).
2. copy mod_authz_svn.so and mod_dav_svn.so to modules folder under Apache installation, and do some changes on httpd.conf:
uncomment these two lines:
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
add these two lines:
#SVN
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
After restart Apache, you will see the Apache description has been changed in service list (…SVN/1/4/6 DAV/2).
3. run subversion server as a windows service: find and download svnservice.exe.
4. create a folder as the base subversion repository: svnadmin create c:\svn_repository
add this in httpd.conf file:
<Location /svn>
DAV svn
SVNParentPath “C:/svn_repository”
AuthType Basic
AuthName “Subversion Repositories”
AuthUserFile “C:/svn_repository/conf/passwd”
Require valid-user
</Location>
5. create user/password by going to apache/bin folder, run:
htpasswd –c c:\svn_repository\conf\passwd lwang
later when adding another account into the passwd file, you need to use “–m” instead of “–c”
6. how to set up multiple repositories for different projects, please refer to here, and how to setup up ssl access please refer to here.
7. for TortoiseSVN, the general ignore pattern can be set like this: ”*/bin */obj *.bak *.*scc *.user *.suo *.webinfo bin obj *.dll *.pdb *.exe
debug Debug” (for TortoiseCVS, in order to use freepository.com, one has to use “:sserver;version=1:username@@freepository.com:11549/path”)