webraptor

Active Member
Dec 25, 2004
40
0
156
Hey, i would like to turn off mod_gzip from working into one of my sites directories.
I know I can do that with .htaccess but i do not know how :(
 
Last edited:

anup123

Well-Known Member
Mar 29, 2004
890
1
168
This Planet
Wherever you would want gzip to be turned off, perhaps you could try:

<IfModule mod_gzip.c>
mod_gzip_on No
</IfModule>

Let me know if this works for you

Anup
 

webraptor

Active Member
Dec 25, 2004
40
0
156
I don`t think it worked. I mean i get the same results as i previously got. :(
They should have changed.
 

webraptor

Active Member
Dec 25, 2004
40
0
156
And where exactly did U place that script for mod_gzip
Also , can I turn off zend for that directory?

I wnat to do this as I have a test installed on my server and want to get a page load test.

Both settings above force my pageload.php to load first and then execute
itself (I think). Then the reported time is a page generation time, not a page load time.

Hope you understand my issue
 
Last edited:

anup123

Well-Known Member
Mar 29, 2004
890
1
168
This Planet
Whereever you would like to turn off mod_gzip.

If for the entire domain then within Virtual Host container

If for a given directory then

<Directory /path/to/disable/mod_gzip>

<IfModule mod_gzip.c>
mod_gzip_on No
</IfModule>

</Directory>

do a httpd configtest before rstarting httpd.
BTW did you rstart httpd after you made the changes? Know it is stupid to ask but still.

Zend i am not aware

Anup
 

webraptor

Active Member
Dec 25, 2004
40
0
156
Yes I did. But made some test and my problem is not form the server side but from the client side :)
 

anup123

Well-Known Member
Mar 29, 2004
890
1
168
This Planet
webraptor said:
Yes I did. But made some test and my problem is not form the server side but from the client side :)

You mean you are trying to see file size by right clicking on browser end?
If server is throwing right content forget the client.

Anup
 

webraptor

Active Member
Dec 25, 2004
40
0
156
I mean .. I have run some test from different locations around the globe and got different results for the script that was suppossed to change because of the mod_gzip ...

I got good results from people with good connections and bad results from people with bad internet connections . Other things also have made me know now that the problem is caused 100% from the client side.

thanks anyway for letting me know how I can turn off mod_gzip.

Happy New year to all of you !!