Setting up a Subversion server on Windows

time to read 3 min | 404 words

I love Subversion, it is a zero friction source control in the true sense of the word. It doesn't interfer with the way that I work until the moment that I want to do something with it. Combine it with TortoiseSVN, and I don't even bother to remember the command line parameters anymore.

Now, I have been using Subversion on 99% of my projects for about a year now, both the open source ones and the ones that I get paid to write. (If anyone has a suggestion about how to combine the two, I'm all ears :-) ).

What I have done so far

  • Windows 2003 SP1
  • Apache_2.0.59-Openssl_0.9.8b-Win32
  • Subversion 1.3.2
  • Web SVN 1.61
  • PHP 5.1.4

This is a set of great resources about how to configure Subversion and all the related tools. And this was a great help setting up permissions. This looks to be semi official and covers a lot of the things

The goal is to allow Windows authentication to the repository, and that is the reason that I'm using apache, it is very simple to config apache to a Windows domain, and it provides some nice benefits like WebSVN, and let me play with apache as well.

Right now it is running on SSL + Windows authentication, and I got WebSVN with SLL + authentication running as well. I couldn't get the enscript to work correctly (something with sed not returning the correct input, but I have no idea), but I'm happy with text output.

After looking at Apache's configuration file, I'm suddenly beginning to really like XML.

I got it all on a VM, so not it is just a matter of putting it on the ECX, plugging it to the domain and seeing if it works.

The next step is a build server, which should be a lot easier.