Disable static compression on Litespeed shared hosting via .htaccess Print

  • 1

To disable gzip compression in on shared hosting with litespeed use a .htaccess file and enter

RewriteRule . - [E=no-gzip:1]

This is specific to static page compression, like javascript / css / html. PHP has built in compression such as zlib which is unrelated to compression offered by litespeed. More information on PHP compression is at http://www.php.net/manual/en/outcontrol.configuration.php#ini.output-handler

Was this answer helpful?

« Back

Powered by WHMCompleteSolution