Docunext

  • About

Subversion DAV mod rewrite

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 2005 2006 2007 2008 2009 2010 2011 2012 2013 2015 2018 2019