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

[TSVN] Re: authentication dialog fired twice

From: Zrubavel <g729_at_mail.com>
Date: 2004-12-10 17:20:47 CET

SteveKing wrote:
> If you're using Apache as server, then please post your Subversion
> <Location> block of your Apache config file.

In addition to <Location> block, i'm posting excerpt from TCP dump
showing the beginning of the *second* exchange between client and
server. As you can see, no 'Authorization:' header is sent initially.

--------- from httpd.conf ---------
<Location /Snore>
   DAV svn
   SVNPath C:\Projects\SVN\Snore
   AuthType Basic
   AuthName "Snore Project Repository"
   AuthUserFile C:\Projects\SVN\SnoreUsers.dat
   Require valid-user
</Location>
------------------------------------

--------- from TCP dump ------------------
PROPFIND /Snore HTTP/1.1
Host: mydomain.com:8080
User-Agent: SVN/1.1.1 (r11581) neon/0.24.7
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 300
Content-Type: text/xml
Depth: 0
Accept-Encoding: gzip
Accept-Encoding: gzip

<?xml version="1.0" encoding="utf-8"?><propfind
xmlns="DAV:"><prop><version-controlled-configuration
xmlns="DAV:"/><resourcetype xmlns="DAV:"/><baseline-relative-path
xmlns="http://subversion.tigris.org/xmlns/dav/"/><repository-uuid
xmlns="http://subversion.tigris.org/xmlns/dav/"/></prop></propfind>

HTTP/1.1 401 Authorization Required
Date: Fri, 10 Dec 2004 11:54:31 GMT
Server: Apache/2.0.48 (Win32) SVN/0.35.1 DAV/2
WWW-Authenticate: Basic realm="Snore Project Repository"
------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Dec 10 17:29:12 2004

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

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