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

Re: Branching slow 1.8.11 https

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Tue, 31 Mar 2015 20:49:59 +0200

On Tue, Mar 31, 2015 at 2:19 AM, Johan Corveleyn <jcorvel_at_gmail.com> wrote:
...
> I think I've found a workaround: it seems the tree walk by mod_dav is
> avoided when the request has a header Depth with value 0. I've tried
> adding
>
> <If "%{REQUEST_METHOD} == 'COPY'">
> RequestHeader set Depth 0
> </If>

Apparently this workaround is specific to httpd 2.4 or higher
(<If></If> is only available as of 2.4). Since the problem also exists
in httpd 2.2.25 or higher, this might be a better way to do this:

    SetEnvIf Request_Method COPY method_is_copy
    RequestHeader set Depth 0 env=method_is_copy

This should work both in 2.4 and 2.2.

-- 
Johan
Received on 2015-03-31 20:50:52 CEST

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.