Showing posts with label apache. Show all posts
Showing posts with label apache. Show all posts

Tuesday, April 17, 2007

Configure Subversion 143 with Apache 224 on Windows

  1. Get the binary version of Subversion without installer (Zip file) from http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
  2. Make sure you get the version compiled against Apache 2.2.x (not Apache 2.0.x)
  3. Unzip the subversion zip file to C:\Program Files\Subversion
  4. Add the following Windows Environment Variable APR_ICONV_PATH=C:\Program Files\Subversion\iconv
  5. Update Windows Path Variable to add C:\Program Files\Subversion\bin;
  6. Copy iconv directory from C:\Program Files\Subversion to C:\Program Files\Apache Software Foundation\Apache2.2\bin
  7. Create authenticated users and passwords using htpasswd command
  8. Update Apache httpd.conf as follows:
ServerName myserver.mydomain.com:80

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