Skip to content

Commit

Permalink
FIX WebDav MacOS failed uploads php-fpm and big files (-36 error)
Browse files Browse the repository at this point in the history
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 #48878

Signed-off-by: Gonzalo Cao Cabeza de Vaca <[email protected]>
  • Loading branch information
gonzalo authored Nov 27, 2024
1 parent 21666e0 commit 0852dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -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
<IfModule mod_setenvif.c>
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
SetEnvIfNoCase Transfer-Encoding "chunked" proxy-sendcl=1
</IfModule>

# Apache disabled the sending of the server-side content-length header
Expand Down

0 comments on commit 0852dac

Please sign in to comment.