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

Re: Old repository

From: Роман Донченко <DXDragon_at_yandex.ru>
Date: Fri, 05 Feb 2010 20:49:21 +0300

C. Michael Pilato <cmpilato_at_collab.net> писал в своём письме Fri, 05 Feb
2010 19:33:09 +0300:

> Bert Huijben wrote:
>> Can you make opening an ra session (like this):
>>
>> $ svn export http://svn.collab.net/repos/svn/trunk/COMMITTERS
>>
>> svn: OPTIONS of 'http://svn.collab.net/repos/svn/trunk/COMMITTERS': 200
>> OK (http://svn.collab.net)
>>
>> return some other output?
>>
>> Presumably, it should be possible to reroute the OPTIONS request to a
>> cgi script that returns a different error?
>
> I honestly don't know how to do what you're asking. CGI scripts only run
> (as far as I know) when a GET or POST request comes in.
>
> I just now added to the configury on svn.collab.net logic to bounce every
> non-GET request aimed at that old repository URL as a 403 Access Denied.

Should've used 410 Gone. 8=]

Roman.
Received on 2010-02-05 18:50:25 CET

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