I have this Perl script sitting in the cgi-bin folder of my Apache server:
#!/usr/bin/perl use strict; use warnings; $| = 1; print \"Content-type: text/ht
It worked for me by disabling the Deflate module for that particular virtual host.
SetEnv no-gzip 1
I guess you could achieve the same result using a .htaccess file too.