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

Access to multiple repositores doesn't work well

From: Ronnie <magnetronnie_at_gmail.com>
Date: Wed, 24 Mar 2010 04:24:43 -0700 (PDT)

I've been trying things and searching the internet for a few hours now, I hope someone can help me with this.

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.

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].
Received on 2010-03-24 12:37:15 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.