Very strange behaviour - advice needed

Reinis Rozitis r at
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 ( ) 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 ( 
 ) 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.


More information about the nginx mailing list