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

Re: Using http:// URL that contains a username

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Wed, 8 Apr 2009 05:00:30 +0400

Greetings, petesea_at_bigfoot.com!

> Does SVN support the use of a username within an https:// URL?

> In other words, say I'm logged into a workstation with the username "bozo"
> and I run the following command:

> $ svn info svn+ssh://bclown@svn.example.com/repo

It is not SVN, it is SSH works with username suppled in URL.

> It works fine. I can contact the SVN server as "bclown", which is my
> username on that server. But, if I try to contact the server using
> https:// instead of svn+ssh://...

> $ svn info https://bclown@svn.example.com/repo

> I get prompted for the password for user "bozo"... NOT user "bclown", eg:

> $ svn info https://bclown@svn.example.com/repo
> Authentication realm: <https://svn.example.com:443> Example Repo
> Password for 'bozo':

> I realize I can use the --username option, but --username doesn't work
> with svn+ssh://, which means I need to use 2 different methods to specify
> the username.

> Is there a particular reason svn doesn't support a username as part of the
> URL with https:// or is there something wrong with my Apache setup which
> is preventing it from working?

Better stick to one way of accessing SVN on single host, unless there's
something special about it.
As I said, it's not SVN working with URL when you connecting through SSH.
When SVN doing authorization by itself, it storing credentials in user area,
so you do not need to enter username next time you accessing the same
You should really read svnbook, I do not have time to retype whole chapters
from it in a single message.

 Andrey Repin (anrdaemon_at_freemail.ru) 08.04.2009, <4:55>
Sorry for my terrible english...
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-08 03:06:36 CEST

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