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>
pull/49557/head
Gonzalo Cao Cabeza de Vaca 5 months ago committed by GitHub
parent 21666e0bc0
commit 0852dac1e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .htaccess

@ -103,7 +103,7 @@
# - https://docs.cyberduck.io/mountainduck/issues/fastcgi/ # - https://docs.cyberduck.io/mountainduck/issues/fastcgi/
# - https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#troubleshooting-webdav # - https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#troubleshooting-webdav
<IfModule mod_setenvif.c> <IfModule mod_setenvif.c>
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1 SetEnvIfNoCase Transfer-Encoding "chunked" proxy-sendcl=1
</IfModule> </IfModule>
# Apache disabled the sending of the server-side content-length header # Apache disabled the sending of the server-side content-length header

Loading…
Cancel
Save