[BlueOnyx:20027] Problem with mod_include (SSI) and mod_deflate

Dirk Estenfeld dirk.estenfeld at blackpoint.de
Wed Aug 31 03:06:26 -05 2016


Hello,

since today I notice a problem with a customer (5209R) which is using SSI (cgi sever side includes).
The site is not loading and if I use lynx to open the site I get the following error:

---
Sending HTTP request.
HTTP request sent; waiting for response.
HTTP/1.1 200 OK
Data transfer complete
Using file://localhost/root/L14859-1627TMP.html.gz
Alert!: Could not open file for decompression!

lynx: Start file could not be found or is not text/html or text/plain
      Exiting...
---

The site is using SSI 

<!--#include virtual="/cgi-bin/redirectjs.pl"-->

If I remove the SSI, the site is loading without problems.

Now I found the following lines in /etc/httpd/conf.d/ssl_bx.conf

# Enable GZip Compression:
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
DeflateCompressionLevel 9

Are this lines new?

If I disable the lines:

# Enable GZip Compression:
#AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
#DeflateCompressionLevel 9

And restart apache, SSI is working again.

Maybe GZip Compression by default is not the best idea?
@Michael: Can you either remove the lines or check what is needed to get DEFLATE and SSI working together?

Best regards,
Dirk

-----------------------------------------------
blackpoint GmbH - Friedberger Straße 106b - 61118 Bad Vilbel




More information about the Blueonyx mailing list