3

I'm looking for a better looking of apache "index of file", I have tried one get the effect from this, http://imm.io/media/3m/3m1f.png

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.

Jichao
  • 3,037
  • 4
  • 18
  • 14

2 Answers2

7

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.

Janne Pikkarainen
  • 31,852
  • 4
  • 58
  • 81
0

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

jet
  • 475
  • 4
  • 8