问题原文
原帖链接 · Tim Swast · CC BY-SA 3.0
I have a Solaris server running Apache, and I am using the following .htaccess to generate automatic indexes.
Options +Indexes
# SET INDEX OPTIONS
IndexOptions +NameWidth=*
Where does the "Last modified" date come from in the index that is generated?
It does not appear to be from any of the filesystem dates.
Note that I copy these directories to this location. It seems to be showing the creation date for the directory that I copied, not the date that I copied it. If it's not the atime, ctime, mtime, or crtime, where does Apache find this date?
已采纳解答
原帖链接 · Stephen Ostermiller · CC BY-SA 3.0
[Last-modified] is only valid if the operating system and file system return appropriate stat() results.
Since it is not working for your system, you can turn off the last-modified with: IndexOptions SuppressLastModified
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
