I have a local Apache+Subversion server that I have been trying
to browse with the WebDAV client of Windows XP Pro SP1 FIN.
Until today, my attempts have failed: XP asks for a username and
a password even though the server should permit unauthenticated
reads. However, when I tried accessing the cl-typesetting
repository, it worked! I suspected I had configured Apache
incorrectly, so I captured the protocol with tcpdump in order to
see where my server responds incorrectly... but the difference
turned out to be in the requests!
In the successful cases, each request has one of these headers:
User-Agent: Microsoft Data Access Internet Publishing Provider Cache Manager
User-Agent: Microsoft Data Access Internet Publishing Provider DAV 1.1
In the failing cases, each request has this header:
User-Agent: Microsoft-WebDAV-MiniRedir/5.1.2600
This difference shows that there are at least two WebDAV clients
in the system. Which of them gets used depends on how I request
the connection. There are apparently two ways to create a WebDAV
connection in Windows XP:
* Customize the Start menu so that it displays "Verkkoympäristö"
(is that "Network Neighborhood" in the English version?).
Choose that; the "Verkkoympäristö" window opens. Click "Lisää
verkkosijainti" ("Add network place") in the side pane,
opening a window labeled "Ohjattu verkkosijainnin lisääminen"
("Add network place wizard"). Click "Seuraava" ("Next");
select "Valitse toinen verkkosijainti" ("Specify another
network place"); click "Seuraava" ("Next"); type the URI.
* Open a preexisting web folder in the Explorer. Click
"Web-kansiot" ("Web folders") in the side pane. This displays
the "Web-kansiot" ("Web folders") virtual folder, which appears
as a subfolder of "Oma tietokone" ("My computer") but is not
accessible from there. Choose "Tiedosto" -> "Uusi" ->
"Web-kansio" ("File" -> "New" -> "Web folder") from the menu,
opening a window labeled "Lisää Web-kansio" ("Add Web folder").
Type the URI.
The second method works every time. The first method works only
if I explicitly specify the port in the URL. That is,
<http://svn.collab.net:80/repos/svn/> works but
<http://svn.collab.net/repos/svn/> does not.
Strangely, the username and password that I typed in did not
appear in the network traffic at all; there were no
authentication headers. (I don't know why Windows even asked for
them, as there was no 401 response.)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 6 21:18:44 2004