Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Solaris server running Apache, and I am using the following .htaccess to generate automatic indexes.

Options +Indexes
IndexOptions +NameWidth=*

Where does the "Last modified" date come from in the index that is generated?

index screenshot

It does not appear to be from any of the filesystem dates.

filesystem screenshot

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?

share|improve this question
Does it correctly report the last modified date of ordinary files (as opposed to directories)? What is the last modified date of the files contained in these directories? – w3dk May 16 '13 at 11:19
Yes, files within these directories show the date correctly. For that matter, so do directories within these directories show the date correctly. – Tim Swast May 21 '13 at 17:54
I'm pretty sure it has something to do with the fact that these wrong-date directories were copied, but I can't understand where else the date might be coming from. – Tim Swast May 21 '13 at 17:54

The documentation states:

[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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.