Sorry, not sure why this posted twice. Please ignore. -----Original Message----- From: Daniel F. Garcia [mailto:dgar...@kobold.com.au] Sent: Friday, 11 March 2011 6:36 AM To: users@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