Click here to Skip to main content
15,747,209 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
any one have setup of apache svn?? plese help me if any one have?


If you are planning to install SVN on 32 bit Windows then you can do it in following ways.

Simple Way
Download the binary distribution from one of the below mentioned sites and install it.

From the Collabnet site you will have to download "Subversion 1.8.8 + Apache Server (Windows 32-bit)" & from Wandisco web site you will have to download the server using link named "Download Windows Subversion 1.8.9".

Longer Way

  1. Download the from ApacheHaus[^].
  2. Download from ApacheHaus[^]
  3. Extract the you have downloaded earlier into a folder sat "D:\SERVER\APACHE24", referred as HTTPD_HOME here after
  4. Copy folders bin and modules from file into HTTPD_HOME folder.
  5. Open HTTPD_HOME\conf\httpd.conf file and uncomment following lines from the module loading section.
    LoadModule dav_module modules/
    LoadModule dav_fs_module modules/
    LoadModule auth_digest_module modules/
  6. Add following lines at the end of module loading section
    LoadModule dav_svn_module modules/
    LoadModule authz_svn_module modules/
  7. Your Apache server is now ready for SVN
  8. Create a new folder say SVNREPO on any drive having ample free space. This folder will house the svn repositories
  9. To create a new repository under this folder issue command similar to one shown below. The below command assumes that you have created the SVNREPO folder on E drive.
    svnadmin create E:\SVNREPO\myproject

    The successful execution of the above command will create following directory structure under E:\SVNREPO\myproject

    The last two entries represents the files.
  10. Now it's time to enable SVN on apache HTTD server, for this create a new file named svn.conf under HTTPD_HOME\conf\extra folder.
  11. I generally prefer to put load module entries for svn modules (, at the top of this file. You may want to follow this practice as well, in which case you should not put those entries mentioned in point 6, in httpd.conf file. Your sample svn.conf file should look something like the one shown below
    <Location /svn/>
      DAV svn
      SVNListParentPath on
      SVNParentPath E:/SVNREPO/
      SVNPathAuthz off
      AuthzSVNAccessFile "conf/svn_authz.txt"
      AuthName "Subversion Repositories"
      AuthType Basic
      AuthUserFile "conf/svn_passwd.txt"
      require valid-user

    The meaning of each of the directive can be found in svn manual available here[^].
  12. The only remaining steps are to define the svn users and the access control for those users. To define the users use following command from HTTPD_HOME\bin
    htpasswd -b ..\conf\svn_passwd.txt USER_ID USER_PASS

    Replace USER_ID and USER_PASS with actual user id and passwords.
  13. Create a new file named svn_authz.txt under HTTPD_HOME\conf folder. This file basically controls the access to various repositories. Here is a sample authorization file
    grp_admin = your_user_id
    grp_readonly = user_id1, user_id2
    grp_dev_myproj = dev_id1, dev_id2
    @grp_admin = rw
    # DEV REPO
    @grp_readonly = r
    @grp_dev_myproj = rw

    For more details please refer to the svn manual mentioned earlier.
  14. Regards,
Share this answer
I use VisualSVNServer which is a free SVN server. Has served me well. see[^]

It plays nicely with VisualStudio and some other plugins such as ankhsvn[^].
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900