I am having problems with filters provided by mod_mime, Apache 2.4.41o. No errors are reported in the apache log files. The problem is that when using includes and deflate together Chromium fails to load the response body. Testing the follow: AddOutputFilter INCLUDES htm html Works content is not gzipped. AddOutputFilter DEFLATE htm html Works content is gzipped but includes not processed. AddOutputFilter INCLUDES;DEFLATE htm html Results in browser failing to load response body. A 200 response is reported by both Apache and Chrome dev tools, all headers look good but body fails to load.
Hi, did you tried with another browser? Why do you think mod_mime is involved? (you only speak of INCLUDES and DEFLATE) With wget, it works as expected on Ubuntu with 2.4.41
Fails with Chromium Version 78.0.3904.70 (Official Build) Arch Linux (64-bit). Results in blank screen. Dev tools on Network show error. Fails with Firefox 70.0, released October 22, 2019. Shows "Content Encoding Error An error occurred during a connection to example.com. Please contact the web site owners to inform them of this problem." Both running on Manjaro - fully up to date system. Fails with Opera Version:64.0.3417.54, Update stream:Stable, System:Manjaro Linux (x86_64; KDE) Results in blank screen. Dev tools on Network show error. The problem is logged with mod_mine because AddOutputFilter is part of the mod_mime package according to the Apache 2.4 documentation. https://httpd.apache.org/docs/2.4/mod/mod_mime.html
I can confirm that wget of the same url works, and examining the contents on the disk is correct. There is clearly a behavioural difference between wget and the web browsers.