mod_deflate / gzip causing problems in IE

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

mod_deflate / gzip causing problems in IE

Post by Luke »

I am using the following code for gzip compression on my websites, but for some reason it intermittently causes IE to display a blank page. I've noticed it happens a lot during redirects. Does anybody see anything in this code that would cause issues?

Code: Select all

<IfModule mod_deflate.c>
 
    AddOutputFilterByType DEFLATE text/html text/css application/x-javascript application/javascript text/javascript text/plain text/xml text/csv text/x-component 
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    <IfModule mod_headers.c>
        Header append Vary User-Agent
    </IfModule>
 
</IfModule>
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: mod_deflate / gzip causing problems in IE

Post by JAB Creations »

Apache...this should Miscellaneous forum I think? I hate to admit it but I think you're better off posting this particular question in WebmasterWorld's Apache forum unless we have a really quiet Apache guru here? I do GZIP through PHP not Apache.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Re: mod_deflate / gzip causing problems in IE

Post by Luke »

good call... moving to configuration...
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: mod_deflate / gzip causing problems in IE

Post by JAB Creations »

Maybe you could program an exception for an HTTP query (?redirect) perhaps? I'm not sure how to do that in Apache however.

Also I think I need to take five minutes and familiarize myself with some of the lesser known forums here. :roll:
Post Reply