Re: [viewvc-users] Multiple logins requested when using a web interface

"C. Michael Pilato" <[email protected]> Tue, 15 Nov 2011 10:51:14 -0500
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <4EC28A72.3090001__3524.57651538334$1321372299$gmane$org@collab.net>
On 11/14/2011 04:24 PM, Jim Lord wrote:
> When I send people links to our subversion items, there are cases where you
> can get asked several times to enter your username and password after
> clicking on the links.
> 
> It happens with Internet Explorer more than the other browsers but a link to
> an excel or work doc like:
> 
> https://svn/svn/Repository/Project/trunk/latest/somedoc.docx
> 
> OR even worse
> 
> http://svn/viewvc/Repository/Project/trunk/latest/somedoc.docx
> 
> will require multiple logins.

[...]

> If I cancel the login, I still get the contents I’m looking for but I’m
> minus a few *.png icons on the page

Hrm.  I have my ViewVC and Subversion instances protected by passwords and
such configured on different servers, but I don't experience this problem
myself.  I can see getting prompted for a password once when you view the
page, but your browser should be caching that information and reusing it
when, after parsing the return HTML, it finds that it needs to return to the
server to request the various stylesheets and icons and such.

> IS THERE A WAY to configure my svn server to avoid getting so many login
> requests?   Why am I getting SO MANY requests, why aren’t the credentials
> cached?
> 
> Again, Firefox and Chrome act differently than Internet Explorer but I’m
> really trying to seek out WHY this is happening because anytime I get asked
> for my password more than once, it’s an annoyance.

As you appear to be seeing this problem with both your ViewVC and
direct-view-of-the-repository URLs (and based on my knowledge of what ViewVC
is doing), I think we can rule out ViewVC.  And since you see this with
different browsers, and apparently even different users and machines that
you've shared the links with, I think we can rule out a client-side problem.
 So that really just leaves the web server -- I think this is a question you
need to ask of the Apache HTTP Server community.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2878294

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk7CinwACgkQokEGqRcG/W5vcACgyGXcR9XnkHJUH8XdVAGYQ5P2
5G8Anj/AiuwhWNoF9XcndlHazKS+X63X
=+Ton
-----END PGP SIGNATURE-----