diff options
author | Simon L. <szaimen@e.mail.de> | 2024-08-29 09:52:08 +0200 |
---|---|---|
committer | skjnldsv <skjnldsv@protonmail.com> | 2024-09-03 21:43:32 +0200 |
commit | 2599e6466f706186732db035467a054c3a9fc66b (patch) | |
tree | 63cdf2b05184277776a98eb71cd20b8962d7e874 /.htaccess | |
parent | 1a9dddb173e4c5c7f101d1b14ba1ef570e39d323 (diff) | |
download | nextcloud-server-2599e6466f706186732db035467a054c3a9fc66b.tar.gz nextcloud-server-2599e6466f706186732db035467a054c3a9fc66b.zip |
fix: re-enable content-length header via htaccess
Signed-off-by: Simon L. <szaimen@e.mail.de>
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess index f6474c8dbca..557844974a4 100644 --- a/.htaccess +++ b/.htaccess @@ -106,5 +106,13 @@ SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1 </IfModule> +# Apache disabled the sending of the server-side content-length header +# in their 2.4.59 patch updated which breaks some use-cases in Nextcloud. +# Setting ap_trust_cgilike_cl allows to bring back the usual behaviour. +# See https://bz.apache.org/bugzilla/show_bug.cgi?id=68973 +<IfModule mod_env.c> + SetEnv ap_trust_cgilike_cl +</IfModule> + AddDefaultCharset utf-8 Options -Indexes |