Docunext


Subversion DAV mod rewrite

December 12th, 2007

I'm trying to slyly host several svn repositories:

www.example.com/svn/

www.example.org/svn/

using mod_rewrite and SVNParentPath (set to /home/svn/), kinda like this: /home/svn/www.example.com//home/svn/www.example.org/

Then using mod_rewrite to change the first urls to have the domain at the end. It works for browsing, but when I try to checkout, I get a 404. :-(

I tried to troubleshoot, using __svn as the rewrite passthrough, but then I get this error:

svn: Unusable URI: it does not refer to this repository

This is pretty much impossible as far as I can tell, but if there is any consolation here, its that having a unique folder name for a subversion path is a good idea, so that when people checkout the code, they won't get a generic folder name.

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022