Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/101594-status-200-but-no-data/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.