[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Hosting multiple subdomains with a common SVNParentPath under apache

From: Daniel F. Garcia <dgarcia_at_kobold.com.au>
Date: Fri, 11 Mar 2011 06:59:53 +1000

I have an apache server that has an alias of *.mydomain.com. What I want is to setup svn paths that switch to different repositories according to the subdomain. E.g.

http://subdomain1.mydomain.com/svn -> /var/svn/subdomain1
http://subdomain2.mydomain.com/svn -> /var/svn/subdomain2
http://subdomain2.mydomain.com/svn -> /var/svn/subdomain3

I setup a repository that used the SVNParentPath directive, then had a bunch of mod_rewrite rules to do all the mapping. I almost got it working. It worked in a web browser and repo browser but I could not do a checkout.

Any ideas for a different approach? Has anyone done this successfully?

Daniel F Garcia
Received on 2011-03-10 22:02:47 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.