Server Fault is a question and answer site for system and network administrators. 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'm trying to get my .htaccess file to list all files in the current directory, hide the 'last modified' column and also remove the link to "Parent Directory" all in the 'fancy' style.

My current file is:

Options +Indexes

Any help would be great! Thanks

share|improve this question
Great question! I had this exact same issue. – Mike B Jan 21 '11 at 0:45
up vote 3 down vote accepted

The two options you would need to use, from the Apache Docs, are:

  • IndexOptions SuppressLastModified
  • IndexIgnore ..
share|improve this answer
Fantastic cheers Dave! – Dawson Sep 17 '09 at 19:25

Are you using Apache? If so, this may be useful:

share|improve this answer
Aha great, adding this hides "last modifed": IndexOptions +SuppressLastModified Just need to hide the link back to the parent directory, any thoughts? – Dawson Sep 17 '09 at 19:22

Your Answer


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