From 0852dac1e9b3eac61a181203657bed545f60b9fc Mon Sep 17 00:00:00 2001 From: Gonzalo Cao Cabeza de Vaca <57393+gonzalo@users.noreply.github.com> Date: Wed, 27 Nov 2024 08:38:29 +0100 Subject: [PATCH] FIX WebDav MacOS failed uploads php-fpm and big files (-36 error) Current "SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1" setting fails with Macos Webdav Darwin client beacuse the header has a capital letter -> "Chunked" So you can fix it making condition case insensitive. Extended description and tests results on https://github.com/nextcloud/server/issues/48878 Signed-off-by: Gonzalo Cao Cabeza de Vaca <57393+gonzalo@users.noreply.github.com> --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 1406448db0a1b..8a287cec2145d 100644 --- a/.htaccess +++ b/.htaccess @@ -103,7 +103,7 @@ # - https://docs.cyberduck.io/mountainduck/issues/fastcgi/ # - https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#troubleshooting-webdav - SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1 + SetEnvIfNoCase Transfer-Encoding "chunked" proxy-sendcl=1 # Apache disabled the sending of the server-side content-length header