这是一个创建于 4487 天前的主题,其中的信息可能已经有所发展或是发生改变。
问题说明:首页图片比较多的情况下,第一次访问的时候图片加载正常,第二次有缓存就开始出错了,IE和chrome都有问题,firefox正常。用Fiddler查得话报这个错误。
-----------------------
Fiddler has detected a protocol violation in session #58.
The Server did not return properly formatted HTTP Headers. HTTP headers
should be terminated with CRLFCRLF. These were terminated with LFLF.
-----------------------
nginx配置
location /photo/
{
if ($query_string ~* ^flush)
{
rewrite .* /thumb.php?f=$request_filename;
}
gridfs tongleqi field=filename type=string;
mongo 127.0.0.1:27017;
default_type image/jpeg;
error_page 404 = /thumb.php?f=$request_filename;
expires 30d;
}
mongo 2.0.5
大家帮忙看看 tks