Hello all,
I've been trying to enable server-level gzip compression on my wpmu powered site, but all to no avail.
I've checked my httpd.conf file and can insure the mod_deflate module is getting loaded (I'm on apache2). But everytime I try and actually trigger it I get internal server errors.
I've tried including it in my .htaccess file in my httpdocs folder like so:
# compress all text & html:
AddOutputFilterByType DEFLATE text/html text/plain text/xml
# Or, compress certain file types by extension:
<Files *.html>
SetOutputFilter DEFLATE
</Files>
And I've also tried appending the following to the bottom of my httpd.conf file:
DeflateFilterNote Ratio ratio
DeflateCompressionLevel 9
FilterDeclare COMPRESS
FilterProvider COMPRESS DEFLATE resp=Content-Encoding !$gzip
FilterProvider COMPRESS DEFLATE resp=Content-Type $text
FilterProvider COMPRESS DEFLATE resp=Content-Type $application/x-javascript
FilterProvider COMPRESS DEFLATE resp=Content-Type $application/.*xml.*
FilterProvider COMPRESS DEFLATE resp=Content-Type $image/svg+xml
FilterChain COMPRESS
But neither seems to work, and both throw out the same server 500 error. Any ideas guys?