If you’re having trouble downloading files (using passthrough scripts) in IE over SSL, the fix is to turn off cache headers. To do this in Apache:
<Files filename.php>
Header unset Pragma
Header unset Cache-Control
</Files>Popularity: 4% [?]
Posted in: Development
If you’re having trouble downloading files (using passthrough scripts) in IE over SSL, the fix is to turn off cache headers. To do this in Apache:
<Files filename.php>
Header unset Pragma
Header unset Cache-Control
</Files>Popularity: 4% [?]
Posted November 3rd, 2004 @ 12:06 PM
Please note: Use of a non-personal web site or blog in the field below and/or comments that are off-topic, personal attacks, or support requests will likely be removed at my discretion.
This is the personal web site of Alex King, a web developer in Denver, Colorado USA. More...
Crowd Favorite is my software and web development business.
We build web applications, design and develop custom WordPress themes and plugins, and build custom sites using WordPress as a CMS.
I also have a tumblog that aggregates my online content from other services (Twitter, Flickr, del.icio.us. etc.).
dblookup.info adds this Trackback:
Workaround for IE/SSL downloading file problem
I ran into this problem before and I didn’t find a descent solution. So you might be interested with the one proposed by Alex King.
Header unset Pragma
Header unset Cache-Control
(I didn’t test it myself yet)
November 3rd, 2004 at 4:49 pm
Ian Landsman's Weblog adds this Trackback:
IE Download Bug
Alex King came across a work around for the IE file download bug. I found this one on Joseph Scott’s blog previously and it seems to work well:
http://alexking.org/[...]ack.php/1108
November 3rd, 2004 at 7:03 pm
dvc adds this Comment:
i assume this line is added in in the httpd.conf file?
July 14th, 2005 at 6:44 am
Alex adds this Comment:
It’s an Apache configuration setting, so httpd.conf or .htaccess.
July 14th, 2005 at 7:02 am
Simon adds this Comment:
Adding a bogus Pragma header works too.
In PHP:
header(”Pragma: dummy=bogus”);
header(”Cache-Control: private”);
June 6th, 2008 at 2:27 am