Re: Can't commit perl code
From: Ryan Schmidt <subversion-2011a_at_ryandesign.com>
Date: Thu, 3 Mar 2011 09:49:46 -0600
On Mar 3, 2011, at 09:38, Nate wrote:
>> Before you were getting an error on a PROPFIND, now on a CHECKOUT. These are WebDAV methods that Subversion uses but that presumably your web site doesn't... would it work to limit the Mason directives to just GET and POST requests?
Right.... I understand what the directives do.... doesn't what I suggested still allow that to happen? Enclosing the directives in a "Limit GET POST" directive should mean that these directives will be limited to GET and POST requests (which are used by web browsers), and will not apply to PROPFIND, CHECKOUT, REPORT or other WebDAV methods that Subversion uses.
I see from the documentation that <Limit> and <LimitExcept> are designed to limit access controls. I don't know if this means it only works for access controls. If so, what I proposed won't work. Sorry, I haven't had time to test it myself.
|
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.