Solved

joomla : turn off gzip

Posted on 2010-08-25
6
891 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

708 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now