Closed (duplicate)
Project:
Boost
Version:
6.x-1.x-dev
Component:
Apache integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Jun 2009 at 14:34 UTC
Updated:
13 Aug 2009 at 18:05 UTC
If gzip is enabled IE tries to download some file when anonimous user tries to open homepage starting with www.
"www.site.com" couses the problem and with "site.com" everything is ok.
FF and Opera opens both types without any problems.
I disabled gzip for now, but would like to use this option. Would be thankful for any suggestions.
Comments
Comment #1
mikeytown2 commentedEnable 301 redirect to www site in your htaccess file
The last 2 lines need to be uncommented in the htaccess file. Replace
exampleandcomwith your site name.OR
try this for your boost rules... ps what's the date for boost? below is for the latest dev.
key part is
[L,T=text/html]EDIT: Updated this code block. its in the latest dev (june 13th) with these changes.
Comment #2
mikeytown2 commentedwhat's your apache version? I've noticed some differences between apache versions in regards to this issue. Sadly an older version of apache worked correctly and it was the newer version that screwed up.
ps changed the above boost htaccess code.
Comment #3
Gus24 commented[L,T=text/html] - makes IE not to download the file but actually open this .gz file in bowser. Not readable of course. I don't know where to see my apache version.
I switched to the last dev and didn't find gzipping at all. So I rolled back to the earlier dev and turned gzip off. I'm quite satisfied with the performance even without gzip. So I maybe close this issue. Thanks for your assistance anyway!
Comment #4
mikeytown2 commentedIf it opens the file in the browser then
AddEncoding x-gzip \.gzis not getting set correctly for some reason. Can you check that it's in your htaccess file? You can check your php version by running this in a php code block.Should output something like
Apache/2.2.11 DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9Latest dev, gzip is controlled by the
Page compressionsetting. Click Disable to disable boost's gzip.Comment #5
mikeytown2 commentedPlease provide feedback
Comment #6
mikeytown2 commentedchanged to
Comment #8
sdrycroft commentedI was having similar issues to the above, and found that changing
to
fixed the issue for me. This may well be an issue that crops up again.
Comment #9
mikeytown2 commented@sdrycroft
What version of apache are you running? what version of IE did you test it on?
http://httpd.apache.org/docs/trunk/mod/mod_mime.html#addencoding
Comment #10
mikeytown2 commentedComment #11
sdrycroft commentedApache 2.2 (RHEL5), and IE8.
Headers [working]
Headers [Broken]
Comment #12
mikeytown2 commentedThat version of apache is messed up for some reason. It's supposed to return gzip even though it's set to x-gzip. Just confirmed via wireshark & IE8 with apache 1.3 (shared hosting) & 2.2.3 (Red Hat).
Here's the headers I get using IE8 & the default boost settings.
Bug your host, they messed up somewhere.
Comment #13
mikeytown2 commentedI will say this though, if using this trick then you have to set it to gzip
#528506: Better Detect GZIP Compression
It could also be an issue with a firewall, as those have been known to mess up content-encoding headers... going to switch this back to active, as I don't know of any browsers the send x-gzip. So I believe the current recommendation on the apache site is now outdated.
Comment #14
mikeytown2 commentedmoving to #546850: Next round of .htaccess changes. Getting these "perfect" is the goal.
Comment #15
sdrycroft commentedThanks for your time mikeytown2. I'll look into this further at some point (I'm the host, so I'll have to bug myself).