Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 looking for a better looking of apache "index of file", I have tried one get the effect from this, enter image description here

to this,

enter image description here

But is there any other better looing for apache "index of file", could you recommend some better?

I think the looking of firefox directory indexing is better,

enter image description here Thanks.

share|improve this question

Apache's mod_autoindex provides you lots of flexibility. With it you can add to your directory listings a header section, customize the looks with CSS, modify the icons and whatnot.

If that is not enough for you, it's possible to pass a dynamic script as your DirectoryIndex file - for example DirectoryIndex /webroot/shared/my_custom_dir.php would call a PHP script from path /webroot/shared/my_custom_dir.php for generating the directory listing.

share|improve this answer

You can use "FancyIndexing" and "FoldersFirst" directives in Apache configuration

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.