[BlueOnyx:20046] Re: Problem with mod_include (SSI) and mod_deflate
Michael Stauber
mstauber at blueonyx.it
Wed Aug 31 16:11:50 -05 2016
Hi Dirk,
> hmm, I checked another 5209R and this server have also the lines
>
> # Enable GZip Compression:
> AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
> DeflateCompressionLevel 9
>
> In /etc/httpd/conf.d/ssl_bx.conf
>
> And I also checked with .shtml files. Also .shtml files with SSI included cannot be displayed. Also the same error-message.
Yeah, I added that in the last few days. I thought it would be a good
idea to turn Gzip compression on. I didn't expect that it would cause
any problems.
According to the Apache docs it says:
The DEFLATE filter is always inserted after RESOURCE filters like PHP or
SSI. It never touches internal subrequests.
See: http://httpd.apache.org/docs/2.4/mod/mod_deflate.html
But a quick Google search indeed turns up some issues:
https://www.google.com/search?q=Apache+mod_deflate+SSI
Some are related to an (old?) bug in mod_deflate, which might (or might
not) be fixed in the version we're using on 5209R.
I'll give it a look in a moment. If I can't fix it today, I'll roll up a
modified base-ssl that turns the default Gzip compression off again.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list