On Wed, Apr 01, 2015 at 09:41:53AM +0200, Johan Corveleyn wrote: > On Tue, Mar 31, 2015 at 8:49 PM, Johan Corveleyn <jcor...@gmail.com> wrote: > > On Tue, Mar 31, 2015 at 2:19 AM, Johan Corveleyn <jcor...@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. > > > > This problem and its workaround are now documented in our FAQ: > http://subversion.apache.org/faq.html#dav-slow-copy
It has also been fixed on trunk (1.10), and nominated for backport to 1.8 and 1.9 (I lay good options on that happening). (reference: issue 4531) Cheers, -g