QUESTION: How do you configure Apache to return the Last Modified Date in the HTTP response header (for the request of a pure HTML page).
BACKGROUND: Using the JavaScript code snippit:
Netscape returns: January 1, 1970 (beginning of Epoch) and
IE returns the current date/time.
It has been explained to me that this is because Apache is not returning the Last Modified Date in the HTTP response header. My ISP claims it can ONLY be done with for .shtml files. Discussions on the Internet claim the LMD can be configured to be returned for any pure HTML, BUT they didn't say how. I would like someone to tell me how so I can tell my ISP.
Thanks,
Gnubie
BACKGROUND: Using the JavaScript code snippit:
Code:
<script type="text/javascript">
document.write("Updated: ",document.lastModified);
</script>
Netscape returns: January 1, 1970 (beginning of Epoch) and
IE returns the current date/time.
It has been explained to me that this is because Apache is not returning the Last Modified Date in the HTTP response header. My ISP claims it can ONLY be done with for .shtml files. Discussions on the Internet claim the LMD can be configured to be returned for any pure HTML, BUT they didn't say how. I would like someone to tell me how so I can tell my ISP.
Thanks,
Gnubie