In Valid Logic

Endlessly expanding technology

Subversion+Apache virtual host mods

On my servers, I recently added some support for a few others to centrally store some Subversion repositories.  Instead of each of them having to install the Subversion server on their own, I figured I'd set up a basic shared one, hosted through Apache.

One thing I was after was virtual host/host header support in the way it served repositories.  I wanted to be able to do krobertson.svn.domain.com, or jdoe.svn.domain.com, etc.  By default, Subversion will only look for repositories in the specified directory with SVNParentPath, and the directive for specifying an authz access file worked similarly.

I decided to dust off some of my C skills and take a look at making the modification myself.  Admitedly, it wasn't some master work, but someone else might like to do the same thing.

Code is available here:  http://github.com/krobertson/tidbits/tree/master/svn_mods

Friday, April 11, 2008

 
blog comments powered by Disqus