Bug #591
closedContent-Length: 0 in header for PHP.
Description
wget -S --spider http://forums.airbase.ru/test.php ... HTTP/1.0 200 OK X-Powered-By: PHP/5.1.2-gentoo Content-Type: text/html; charset=utf-8 Content-Length: 0 Date: Tue, 21 Mar 2006 11:04:54 GMT Server: lighttpd/1.4.11 X-Cache: MISS from gate.avias.local X-Cache-Lookup: MISS from gate.avias.local:3128 Connection: keep-alive
It's simply PHP-code:
<?echo 2*2;?>
Using last (on this post time) SVN version of lighttpd.
For static content Content-Length is ok.
For Apache at this virtual host Content-Length is ok.
Updated by Anonymous almost 18 years ago
I have the same problem with lighttpd 1.4.15 + PHP 5.2.3 (FastCGI) running on Linux x86_64. If I repeatedly refresh the request it will eventually display the page correctly. There are no error messages in the logs (just a standard 200 response with a length of 0 bytes), nothing out of the ordinary with debug.* turned on, just completely empty responses. I've tried with compress turned on and off (although the pages are dynamic anyway) and with zlib.output_compression in php.ini on and off, but the same problem persists. It is reproducible both locally and from remote machines. Please ask if you require any further information.
-- oldspeak
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to worksforme
"X-Cache": looks like there is a cache between your client and lighty; i couldn't reproduce your problem.
Updated by stbuehler over 16 years ago
- Status changed from Fixed to Missing Feedback
Also available in: Atom