DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29543>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29543 Last-modified does't use inode last status change Summary: Last-modified does't use inode last status change Product: Apache httpd-2.0 Version: 2.0.49 Platform: PC OS/Version: Linux Status: NEW Severity: Minor Priority: Other Component: All AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] Apache uses "last modified" field of stat structure and does not use "last status change". I've got a problem: I had wrong permissions on file and apache could not give it to me. When I set right permissions, I could not get file because only "last status change" field of file changed, so "Last-modifed" field of HTTP response not changed and Squid gave my cached error -- I could not get file. I think, Apache should use max("last modified", "last status change"). How I found this: # TZ=GMT stat file ... Modify: 2004-06-12 21:17:30.000000000 +0000 Change: 2004-06-12 21:19:35.000000000 +0000 # telnet localhost 80 GET /path/file Host: localhost ... Last-Modified: Sat, 12 Jun 2004 21:17:30 GMT ... It is easy for me to do "touch file", but it is because I know how HTTP works, many users (not administrators or programmers) do not know. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
