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

Re: Support for HTTP Redirects? was: Re: https connection without http

From: Marcin Gil <mgil_at_vernet.pl>
Date: 2004-03-13 00:35:06 CET

Chris Croome wrote:
>>
>>>I aslo create a Redirect from the http URI to the https one.
>>>
>>
>>Will this work as 'svn co http://url/repo'?
>
>
> Well it works to the extent that stuff can't be checked out
> non-encrypted, you get this:
>
> $ svn co http://svn.example.com/foo.jpg
> svn: RA layer request failed
> svn: PROPFIND request failed on '/foo.jpg'
> svn: PROPFIND of '/foo.jpg': 302 Found (http://svn.example.com)
>
> The same thing happens if there is a 301 rather than a 302.
>
> I don't know if this is intentional or if svn has yet to have
> support for 301 and 302 response codes added?
>
So, how do you create those redirections? By a index.html file with meta
refresh, index.php with header(location) or with mod_rewrite?

-- 
  Marcin Gil
    email#   mgil : vernet pl | GaduGadu ID# 185057
    JID# dentharg : chrome pl | http://marcin.gilusiowy.net

Received on Sat Mar 13 00:35:36 2004

This is an archived mail posted to the Subversion Users mailing list.