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

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


Hello again,

I have to add that our customer is using SSI (includes) in html files. Not only in shtml files.

Best regards,
Dirk


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


-----Ursprüngliche Nachricht-----
Von: Blueonyx [mailto:blueonyx-bounces at mail.blueonyx.it] Im Auftrag von Dirk Estenfeld
Gesendet: Mittwoch, 31. August 2016 10:06
An: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>
Betreff: [BlueOnyx:20027] Problem with mod_include (SSI) and mod_deflate

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

_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list