-----BEGIN PGP SIGNED MESSAGE-----
Kalin KOZHUHAROV wrote:
> Max Bowsher wrote:
>>Clint Priest wrote:
>>>>I'm new to using subversion and it just rocks, quite amazing! I'm
>>>>trying to figure out how I can do something similar to virtual hosting,
>>>>except using ssh.
>>>>Ideally I would like to be able to do something like:
>>>>svn checkout svn+ssh://firstname.lastname@example.org/project/trunk
>>>>svn checkout svn+ssh://email@example.com/project2/trunk
>>>>Where host1.example.com and host2.example.com are really the same
>>>>machine, however authenticating by the different host would select a
>>>>different 'svnserve -r /path/to/repos' command.
>>>>Can you think of any way to do this?
>>The only possibility I can see is if the two hostnames actually resolve
>>to separate IP addresses - i.e. IP-based virtual hosting, not name-based
>>virtual-hosting. If this was the case, you could replace svnserve with a
>>wrapper which looked at the SSH_CONNECTION environment variable.
> A bit of debuggind and I think the above is not possible:
> Everyhting is converted to IP addresses.
Uhh, yes, so? That's exactly why I specified separate IP addresses were
> On a side note, why do you want svn+ssh? Just go with https and you have the apache name based
> virtual hosting for free :-)
Possible, though you would need a special wildcard SSL certificate to
avoid certificate validation errors, since (as currently deployed) HTTPS
is only capable of supporting name-based virtual hosting for a group of
subdomains having a common parent domain.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
-----END PGP SIGNATURE-----
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Wed Dec 28 12:42:02 2005