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

RE: Hosting multiple dynamic subdomains

From: Daniel F. Garcia <dgarcia_at_kobold.com.au>
Date: Fri, 11 Mar 2011 13:28:26 +1000

Sorry, not sure why this posted twice. Please ignore.

-----Original Message-----
From: Daniel F. Garcia [mailto:dgarcia_at_kobold.com.au]
Sent: Friday, 11 March 2011 6:36 AM
To: users_at_subversion.apache.org
Subject: Hosting multiple dynamic subdomains

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?

Daniel F Garcia
Received on 2011-03-11 04:29:07 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.