[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: Andrei Roudik <aroudik_at_cs.du.edu>
Date: Wed, 25 Feb 2009 10:49:32 -0700

Erik, Ryan,

Thank you, guys. That is solved the problem.

-------------------------------
Andrei Roudik
Systems Administrator
Department of Computer Science
University of Denver

-----Original Message-----
From: Erik Huelsmann [mailto:ehuels_at_gmail.com]
Sent: Wednesday, February 25, 2009 1:08 AM
To: Ryan Schmidt
Cc: Andrei Roudik; users_at_subversion.tigris.org
Subject: Re: SVN and RedirectMatch

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=1227902

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-25 19:37:14 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.