logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Workaround for IE no-cache bug
Author
chfrocka



Joined: 21 Jun 2007
Posts: 2

PostPosted: Thu 21 Jun '07 19:40    Post subject: Workaround for IE no-cache bug Reply with quote

I'm using Apache 2.0.59 as a reverse proxy to an app server that among other things, serves up files in Word andExcel format.

The client accesses the Apache server using SSL.

There is a somewhat well-known bug (http://support.microsoft.com/kb/815313) in IE 5+ where if you are opening a document like descibed above and there is a response header of Cache-Control:no-cache and/or Pragma:no-cache, IE errors out on the download. The error can be something like: "Internet Explorer cannot download <filename>" ... "file cannot be written to the cache".

Looking at the headers going back and forth, it looks like Apache is adding Cache-Control:no-cache and Pragma:no-cache to every response.

I tried using Header unset, but no luck there. Any suggestions on how to workaround this IE problem?

Thanks!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Sun 24 Jun '07 12:36    Post subject: Reply with quote

That is only with IE6 SP1 or earlier. Since Win XP does have SP2 (IE than have SP 2 as well) it works fine. Now there is IE 7! IE 6 SP 1 is rather old... SP 2 came out in 2005.
Back to top
chfrocka



Joined: 21 Jun 2007
Posts: 2

PostPosted: Mon 25 Jun '07 0:15    Post subject: Reply with quote

Thanks for the reply. I mean to update this thread. The problem turned out to be our SSO provider (Oracle). This blog post is what clued me in: http://coreidng.blogspot.com/2006_05_01_archive.html

Thanks!
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Mon 25 Jun '07 9:27    Post subject: Reply with quote

If you deliver the files with PHP, you could send those headers. But the Apache/PHP Process would grow in memory with the file size you offer to download.
Back to top


Reply to topic   Topic: Workaround for IE no-cache bug View previous topic :: View next topic
Post new topic   Forum Index -> Apache