joomla : turn off gzip

hi, anyone know a code to turn off gzip in joomla.

Basically i have set the gzip compression ON in Joomla backend. But i want to turn OFF GZIP compression on particular page..

Anyone know how to do this ?
bcv2010Asked:
Who is Participating?
 
ee_autoCommented:
Question PAQ'd and stored in the solution database.
0
 
wmadrid1Commented:
You can create a file .htaccess
and put it in the folder to disable

In the .htacces file put this line:
RewriteRule . - [E=no-gzip:1]
0
 
bcv2010Author Commented:
is this work on one particular page ?

also i would prefer to have a code on .php file instead of htacess
0
 
wmadrid1Commented:
The file .htaccess must be located in the folder root where you want gzip to be disabled

I don not know the way to disabled it trought PHP code
0
 
bcv2010Author Commented:
I found a quick and easy way from joomla to do this :

I use setCfg();
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.