Need a litespeed friendly rule for this htaccess directive

Discussion in 'Apache Migration/Compatibility' started by felosi, Jul 11, 2009.

  1. felosi

    felosi New Member

    This doesnt seem to work on litespeed - SetEnvIfNoCase Request_URI \.gz$ no-gzip

    Or something because I am using the supercache and all and when I try to download tar.gz files I get gibberish page like mime type is not set but it is and they work on other domains in the server.

    What would be a good replacement rule for this?
  2. mistwang

    mistwang LiteSpeed Staff

    RewriteRule \.gz$ - [E=no-gzip:1]

Share This Page