I have enabled gzip compression on magneto site, I verified that mod_deflate is installed & enabled (in Apache server).
But the problem is that when i uncomment the following line (2nd line) in the .htaccess
file (in magneto root), i am getting a "500 Internal Server Error"
# Make sure proxies don't deliver the wrong content
# Header append Vary User-Agent env=!dont-vary
Note that I have tested the site and the compression is working fine.
How could I solve this problem? Could someone please clarify, if its OK if leave it commented?
Thank You