- Get the binary version of Subversion without installer (Zip file) from http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
- Make sure you get the version compiled against Apache 2.2.x (not Apache 2.0.x)
- Unzip the subversion zip file to C:\Program Files\Subversion
- Add the following Windows Environment Variable APR_ICONV_PATH=C:\Program Files\Subversion\iconv
- Update Windows Path Variable to add C:\Program Files\Subversion\bin;
- Copy iconv directory from C:\Program Files\Subversion to C:\Program Files\Apache Software Foundation\Apache2.2\bin
- Create authenticated users and passwords using htpasswd command
- Update Apache httpd.conf as follows:
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module "C:/Program Files/Subversion/bin/mod_dav_svn.so"
<Location /svn>
DAV svn
SVNParentPath "C:/Program Files/Subversion/repos"
SVNListParentPath on
AuthType Basic
AuthName "Subversion repository"
AuthUserFile passwords/passwd
Require valid-user
</Location>
-- Baldeep Hira
No comments:
Post a Comment