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

RE: Access to multiple repositores doesn't work well

From: Bob Archer <bob.archer_at_amsi.com>
Date: Wed, 24 Mar 2010 09:46:58 -0400

> The problem for short is that when I log into 1 repository on my SVN
> server, everything works fine, but when I try to access a second
> repository (which has a different login/password) it doesn't ask for a new
> login dialog, but instead just uses the login/password info from the first
> repository.. which of course results in an Apache 403 error.
>

Are they servers both ones that you maintain? I think the credentials are cached by realm. So, both of those servers probably have the same realm.

BOb

>
> Here's what I did:
>
> I run apache + subversion with the mod_dav on CentOS. I configured
> everything and my apache svn config file looks like this:
>
> LoadModule dav_svn_module /usr/lib/apache/mod_dav_svn.so
> LoadModule authz_svn_module /usr/lib/apache/mod_authz_svn.so
>
> <IfModule dav_svn_module>
> <IfModule authz_svn_module>
> <Location /svn>
> DAV svn
> SVNParentPath /svn
>
> AuthzSVNAccessFile /svn/authz
> Satisfy Any
> Require valid-user
> AuthType Basic
> AuthName "Subversion Repository"
> AuthUserFile /svn/passwd
>
> Require valid-user
> </Location>
> </IfModule>
> </IfModule>
>
>
> The SVN directory is in the root and has at this moment 2 repositories.
> /svn/puko
> /svn/sandbox
>
>
> The autz file looks like this:
> [sandbox:/]
> ronnie = rw
> stijn = rw
>
> [puko:/]
> puko = rw
>
>
> When I go to http://www.mysite.nl/svn/puko/
> it ask for the puko login and it all works fine.
> When I then go to http://www.mysite.nl/svn/sandbox/ it tries to login with
> the puko login, instead of the sandbox login.
> When I close my browser (and thus kill session) and first go to the
> sandbox repos, I can just login with the sandbox login, but the problem
> comes up when I try to go to puko again.
>
>
> I'm having the exact same problem with TortoiseSVN. Checkout and then some
> commits/updates work fine, but only on 1 repos at the same "session". Only
> when I reboot my pc or clear TortoiseSVN cache I can access the other one.
>
>
> I first thought something was wrong with my apache config, but when I use
> VisualSVN plugin for Eclipse it DOES work?! I can update/commit to both
> repos right after each other without problems.
>
>
> Does anyone known why this is happening? Is this a problem with the way
> browsers (and TortoiseSVN) handle urls?
> Or this a config error after all, or even a bug in apache or mod_dav?
>
>
> Btw, I'm having almost the same problem with some free SVN repositories at
> projectlocker.com, with the only difference that TortoiseSVN can't
> remember passwords, but at least it's asking for a different login when
> the first "automated" login fails. I use my own account and an account of
> a classmate, so different repos urls.
> I expect the underlying problems are similar.
>
> ------------------------------------------------------
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId
> =2464298
>
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe_at_tortoisesvn.tigris.org].

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2464364

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-03-24 14:45:55 CET

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