Received: (qmail 5460 invoked by uid 501); 27 Aug 2001 14:42:12 -0000 Message-Id: <20010827144212.5459.qmail@apache.org> Date: 27 Aug 2001 14:42:12 -0000 From: frank Elsner Reply-To: elsner@uos.de To: submit@bugz.apache.org Subject: SSI-parsed document has no last-modified info in header. X-Send-Pr-Version: 3.110 >Number: 8245 >Category: config >Synopsis: SSI-parsed document has no last-modified info in header. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Aug 27 07:50:00 PDT 2001 >Closed-Date: Mon Aug 27 09:19:09 PDT 2001 >Last-Modified: Mon Aug 27 09:19:09 PDT 2001 >Originator: elsner@uos.de >Release: 1.3.19 >Organization: >Environment: all >Description: I have made all my htdocs contents server-side-includes aware, means .htm, .html and so on are parsed for SSI, as I include the LAST_MODIFIED date and the server name via SSI. () The Apache server does not send last-modified info in the header for server-parsed documents, as it believes the document is server-parsed and such changed by the server. But the only change is the name of the server and the last-modified date. Any search engine will not be able to index the documents together with last-modified information. That is truly bad. (So I cannot get the recently modified documents or old documents.) >How-To-Repeat: http://www.rz.uni-osnabrueck.de/index.htm >Fix: Yes. I want the last-modified date send for CGI-scripts, Server-side parsed documents and so on BY DEFAULT. That is the date, the document or script was last-modified (via UNIX file system operations). >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Mon Aug 27 09:19:08 PDT 2001 State-Changed-Why: Apache can not and will not be configured by default to LIE about the last-modified date. That will break a lot of things and simply is not the correct thing to do. The last modified date represents the resource, not whatever script or program is used to generate it. See the mod_include docs for information on how you can have it add a last-modified date which, in some situations, can be considered valid. However it would be bogus of Apache to do so by default and would cause people to see stale content. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]