bartmcp Posted April 17, 2008 Share Posted April 17, 2008 I'm having an issue with Apache not returning any data intermittently for a PHP application. It shows a status of 200 in the access log for the page requested but number of bytes returned shows - (otherwise known as zero). The stranger part of this is that this does not happen all of the time. It seems to happen to about 50% of the requests. Usually the first time you hit the site you get the white page. You may try it again immediately and get the page. Other immediate retries may also show empty. The code works fine using php-cli. Any suggestions? This is a Suse installation using Apache2 over HTTPS. ??? Edit: Here's an example of what's seen in the access log for the first attempt being empty and the immediate retry that returns data. xxx.xxx.x.xx - - [17/Apr/2008:14:11:41 -0400] "GET /index.php?page=index HTTP/1.1" 200 - xxx.xxx.x.xx - - [17/Apr/2008:14:11:46 -0400] "GET /index.php?page=index HTTP/1.1" 200 30764 xxx.xxx.x.xx - - [17/Apr/2008:14:11:47 -0400] "GET / HTTP/1.1" 200 30764 Quote Link to comment https://forums.phpfreaks.com/topic/101594-status-200-but-no-data/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.