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

Re: Domain-specific Repository Roots

From: Wesley J. Landaker <wjl_at_icecavern.net>
Date: 2006-12-17 17:23:20 CET

On Saturday 16 December 2006 19:42, Bob Smith wrote:
> Essentially, I'm looking for a feature similar to HTTP/1.1 and
> Apache's <VirtualHost> where the domain name is also part of the
> request to the server, rather than just a means to obtain an IP
> address. Perhaps this can be done were I to use the Apache server
> approach instead of svnserve, except the ISP I'm using runs Apache
> 1.3.x -- I could install Apache 2.0 separately, but I thought I'd try
> asking about this approach first.

This is the kind of thing that DNS SRV records are meant to handle for all
services in a generic way, instead of relying on protocol-specific virtual
hosting mechanisms. This is, for instance, how to do "virtual hosting" with
XMPP, LDAP, etc, and is a MUCH preferred way to do virtual hosting since it
doesn't require modification of protocols, and avoids horrible issues like
the notorious no-name-based-virtual-hosting-for-https-hosts class of
problems.

Too make this work, pretty much all that would need to happen is for the the
subversion client libraries to query and honor DNS SRV records, which I'm
pretty sure it doesn't do currently. (Then you'd just run svnserve with an
appropriate root on various ports and map them all to the "svn" service for
each domain with SRV records.)

-- 
Wesley J. Landaker <wjl@icecavern.net> <xmpp:wjl@icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

  • application/pgp-signature attachment: stored
Received on Sun Dec 17 17:22:53 2006

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.