Two days ago, I set up an SVN summary as follows:
1. Download Apache HTTP Server from www.apache.org
2: http://subversion.tigris.org/servlets/ProjectDocumentList? Folderid = 91 Subversion
3. install Apache server and subversion.
Note: Check whether mod_dav_svn.so and mod_authz_svn.so exist in the modules in the Apache installation directory.
If the Subversion directory does not exist, copy mod_dav_svn.so and mod_authz_svn.so in the bin directory to the modules subdirectory of Apache.
4. Modify the httpd. conf file of the Apache subdirectory Conf.
Make sure that # loadmodule dav_fs_module modules/mod_dav_fs.so and # loadmodule dav_module modules/mod_dav.so are not commented out
Make sure that loadmodule dav_svn_module modules/mod_dav_svn.so and
Loadmodule authz_svn_module modules/mod_authz_svn.so
V. Create the root directory of the source code library, for example, E: SVN.
6. Create a database under E:/SVN.
Enter svnadmin create -- FS-type bdb testrepository in the command line to create a database in bdb format (make sure the current directory has been switched to E:/SVN /)
Enter svnadmin create -- FS-type fsfs testrepository in the command line to create a database in the fsfs format (ensure that the current directory has been switched to E:/SVN)
7. Add the following code at the end of httpd. conf (which can be found in the Apache subdirectory conf ).
<Location/SVN>
Dav SVN
Svnparentpath E:/SVN
Authtype basic
Authname "Subversion repositories"
# Authuserfile passwd
# Authzsvnaccessfile svnaccessfile
Require valid-user
</Location>