[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: Will Meyer <will_at_bracketstyle.org>
Date: 2006-01-04 14:52:23 CET

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)?

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>

<Location /svn>
    DAV svn
    SVNParentPath /var/svn
</Location>

Will

On 1/4/06, Rainer Müller <mueller_rainer@gmx.de> wrote:
>
> Will Meyer wrote:
> > To access the root of a repository, as with any dir resource, convention
> > would dicatate that a trailing slash needs to be appended, otherwise the
> > server will return a 301 pointing to the trailing-slash version. In all
> > my other svn clients I can list the root via "
> > https://myserver/svn/rootofmyrepo/", or even use the slash-less version
> > and they will follow the 301 (SmartSVN does this, for example). In
> > Tortoise, however, if I specify a path like this then the client removes
> > the trailing slash I entered and sends the url without it, the server
> > responds with a 301, and the client doesn't follow it. So I can never
> > interact with the root of the repository. I can see all this by snffing
> > the HTTP (when I disable SSL to do so, that is). Note that this is not
> > the same issue as in the oft-referenced "301 FAQ."
>
> I tested
> http://tortoisesvn.tigris.org/svn/tortoisesvn
> and
> http://tortoisesvn.tigris.org/svn/tortoisesvn/
> in the repo browser and both of them work fine with TSVN 1.3-RC1. Which
> version
> of TSVN are you using?
> Maybe it works now with the new neon library in svn 1.3.
>
> 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 14:52:36 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.