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

Re: SVN and RedirectMatch

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Wed, 25 Feb 2009 09:08:19 +0100

On Wed, Feb 25, 2009 at 6:49 AM, Ryan Schmidt
<subversion-2009a_at_ryandesign.com> wrote:
> On Feb 24, 2009, at 17:47, Andrei Roudik wrote:
>
>> If I try to commit a file named with the same name as one of the
>> Apache's
>> 'RedirectMatch' patterns I've got the following error:
>>
>> svn: Commit failed (details follow):
>> svn: PROPFIND request failed on '/svnrepo/test/stats.c'
>> svn: PROPFIND of '/svnrepo/test/stats.c': 302 Found (https://
>> svn.name.edu)
>>
>> Here is what I have in my vhosts.conf
>>
>> RedirectMatch \/stats http://web.name.edu/stats
>
>
> Fix your RedirectMatch so it only matches at the beginning of the path:
>
> RedirectMatch ^/stats http://web.name.edu/stats

What about fixing the redirectmatch not to match more than "/stats"
(instead of the current "stats"+any following string) ?

 RedirectMatch ^/stats$ http://web.name.edu/stats

?

HTH,

Erik.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1225429

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-25 09:09:35 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.