aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorGonzalo Cao Cabeza de Vaca <57393+gonzalo@users.noreply.github.com>2024-11-27 08:38:29 +0100
committerGitHub <noreply@github.com>2024-11-27 08:38:29 +0100
commit0852dac1e9b3eac61a181203657bed545f60b9fc (patch)
tree29e0a8cc21f88ff38a2a630cc1892baed83445cc /.htaccess
parent21666e0bc0ccaaffcb7ee61782374ef591fbb7b6 (diff)
downloadnextcloud-server-0852dac1e9b3eac61a181203657bed545f60b9fc.tar.gz
nextcloud-server-0852dac1e9b3eac61a181203657bed545f60b9fc.zip
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>
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/.htaccess b/.htaccess
index 1406448db0a..8a287cec214 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
<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