Very strange behaviour - advice needed
Reinis Rozitis
r at roze.lv
Mon Mar 28 19:30:47 MSD 2011
> All input gratefully received.
What browsers did you use for testing?
There is kinda a known bug/problem (
http://support.microsoft.com/kb/812935 ) with IE (older versions at least)
that the browser doesnt like Cache-Control: No Store / No Cache headers
(for certain types of documents ) which obviously are sent by default if you
are using php sessions.
One of the suggested fixes is to add following header lines to the code
before sending the file:
<?
// fix for IE catching or PHP bug issue
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
?>
Similar case/sample (
http://blog.globalfolders.com/2010/10/pdf-downloads-in-ie-over-ssl-using-nginx/
) just using the nginx X-Accel-Redirect.
See if that helps.
If not you probably need to enable some kind of php errorloging (logging to
file) to catch the problem - it might aswell be just the php script
exausting 'memory_limit' which in some L(W)AMP installations is pretty low.
rr
More information about the nginx
mailing list