Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

joomla : turn off gzip

Posted on 2010-08-25
6
Medium Priority
?
957 Views
Last Modified: 2012-05-10
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 ?
0
Comment
Question by:bcv2010
  • 2
  • 2
6 Comments
 
LVL 5

Expert Comment

by:wmadrid1
ID: 33523548
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
 

Author Comment

by:bcv2010
ID: 33523787
is this work on one particular page ?

also i would prefer to have a code on .php file instead of htacess
0
 
LVL 5

Expert Comment

by:wmadrid1
ID: 33527363
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
 

Author Comment

by:bcv2010
ID: 33564959
I found a quick and easy way from joomla to do this :

I use setCfg();
0
 

Accepted Solution

by:
ee_auto earned 0 total points
ID: 34221227
Question PAQ'd and stored in the solution database.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question