Le Jeudi 3 Novembre 2011 17:34:38 Benoit GEORGELIN a écrit :
> Can you give me more details about your analyse? (examples)
> I will try to understand more what's happen
> 
> 
> Is the response who is not complete or the header only?

The body is not complete. I tried with the examples I provided in my first 
mail.

Examples :
curl -si "http://sandka.org/portfolio/"; => HTTP/1.0 200 OK with html cut in 
the middle.
curl -si "http://sandka.org/portfolio/foobar"; => HTTP/1.0 404 Not Found with 
html cut in the middle.

There's something bad in ZenPhoto : it forces the response in HTTP/1.0, which 
prevents chunked transfer. That also can explain why mod_deflate generated 502 
errors.

One thing you can try :
Edit the file index.php in ZenPhoto and replace "HTTP/1.0" occurences (one for 
200, one for 404) by "HTTP/1.1". Hopefully, this will allow apache+php to use 
chunked responses and solve the problem.

-- 
Cyril Bonté

Reply via email to