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

Using Apache2 with dynamic PHP pages leads to Cache problems due to improper 
If-Last-Modified answer (304 Not Modified)

           Summary: Using Apache2 with dynamic PHP pages leads to Cache
                    problems due to improper If-Last-Modified answer (304
                    Not Modified)
           Product: Apache httpd-2.0
           Version: 2.0.36
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Apache2 does not pay attention to dynamic PHP scripts configured by  
SetInputFilter/SetOutputFilter PHP, as it still checks the modification  
date of the plain .php file.  
  
This leads to caching problems, when the user's browser sends a  
"If-Last-Modified" request. Apache returns "304 Not Modified", as the 
PHP file itself has not changed, although the dynamic content may have 
changed! 
 
The problem is in modules/http/http_protocol.c, line 386+ 
Hotfix: I have commented out line 393 (return HTTP_NOT_MODIFIED), so that this 
feature is totally disabled. 
 
Is there a chance to check for an Input/OutputFilter set? That way, we could 
deactivate the feature for PHP pages only.

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

Reply via email to