Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

2 Answers 2

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

 
discard

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.