I have a site running on Apache HTTPD 2.4.39 and when authentication is enabled the last-modified
header is changed from the files last modified date/time to the request date/time.
If the authentication is removed then the last-modified
goes back to being the files last modified date/time.
It is using mod_dbd
to authenticate against a MySQL table and I cannot see anything in the Apache configuration that is doing modifying the last-modified
header value.
I had the same setup on a previous server, using a slightly earlier version of 2.4 (not sure which) and didn't have this issue, I've looked in the Apache HTTPD bug tracker and can't find anything about this being an issue.
Has anyone else ever seen this behaviour and have any idea what might be causing it and how to resolve it?