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

Re: trailing slash on repository roots, and 301s

From: Rainer Müller <mueller_rainer_at_gmx.de>
Date: 2006-01-04 17:49:02 CET

Will Meyer wrote:
> Thanks for the response Rainer. So hitting your server works fine, but
> not mine. I am using the RC1 client, server is apache on linux. The
> client sends a PROPFIND /svn/tortoisesvn request, and the tigris server
> responds correctly, whereas on my server it responds with a 301 to (the
> equivalent of) /svn/tortoisesvn/. Is "tortoisesvn" the root of a
> repository (am assuming it is)?

I think it is. And without a trailing slash I get a 301, too. I just tested this
with curl.

  D:\>curl -I --user guest:guest http://tortoisesvn.tigris.org/svn/tortoisesvn
  HTTP/1.1 301 Moved Permanently
  [...]
  Location: http://tortoisesvn.tigris.org/svn/tortoisesvn/

With the slash, I get a 200 OK:

  D:\>curl -I --user guest:guest http://tortoisesvn.tigris.org/svn/tortoisesvn/
  HTTP/1.1 200 OK

tigris.org runs "SVN/1.1.1 mod_auth_svn/0.1", but that should not make a
difference if you are running a newer version.

>
> My relevant server configuration is below. Does anyone know of a way to
> control whether apache redirects to / for directory resources? I
> suppose that is a svn/apache question and not a tortoise question...
> However, I would think the tortoise client should let me pass the
> trailing slash myself (and not strip it off), which theoreticaly would
> let this work.
>
> Any additional thoughts?
>
> Alias /svn "/var/svn"
>
> <Directory "/var/svn">
> Order allow,deny
> Allow from all
> Options Indexes MultiViews
> AllowOverride None
> Require valid-user
> SSLRequireSSL
> </Directory>

Oh, I have overlooked that you are using https://. You said you sniffed it
without SSL. So I assume it does not matter.
But you also said in your first mail you don't have the issue with SmartSVN
(which uses Java but I don't know which svn libraries they use). Have you tried
with the official svn command line client? Since TSVN and the svn cli client use
the same Subversion libraries this would affect both if the problem is there.

HTH, Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Jan 4 17:51:00 2006

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.