DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9673>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9673

Conditional GET requests not handled properly with filtered content





------- Additional Comments From [EMAIL PROTECTED]  2002-07-20 15:14 -------
I'd like to post a workaround without patching apache or PHP....

Just edit your script(s) to send a 'header("Last-Modified: Mon, 26 Jul
1997 05:00:00 GMT");' or just some other date older than the mdate of
your script file. This solves the problem.

Reason:
The bug causes Apache2 to look for the mdate of the .php file to
determine if it has been modified.
If the browser first gets a header like above, it next time asks for the
page with an 'If-Modified-Since: Mon, 26 Jul 1997 05:00:00 GMT'. Then,
the httpd looks at the mdate of your script, which is always newer and
says: Yes, it has been modified, "200 OK". The script will be served and
it will response again with the header line from above. Round and round
the story goes. :))

Greets, and have fun!

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to