3

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

1
  • Great question! I had this exact same issue.
    – Mike B
    Jan 21, 2011 at 0:45

2 Answers 2

5

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

  • IndexOptions SuppressLastModified
  • IndexIgnore ..
1
  • Fantastic cheers Dave!
    – Dawson
    Sep 17, 2009 at 19:25
0

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

http://httpd.apache.org/docs/2.0/mod/mod_autoindex.html#indexignore

1
  • 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, 2009 at 19:22

You must log in to answer this question.