Win32 style directory indexing in apache – Date and Size along with the name

Inorder to have win32 styled directory indexing in apache, you need to make sure that mod_autoindex module is installed and active in the server. In cPanel 11 servers, it will have the modules enabled in, /usr/local/apache/conf/extra/httpd-autoindex.conf

So for the client who want to have the fancy directory indexing to be enabled, just add the below lines to his .htaccess

Options +Indexes
IndexOptions FancyIndexing VersionSort

I hope this snippet will help someone!

Continue Reading


 

About this blog

This blog, acts as a knowledge repository for the world and is unofficial! Anything we find interesting in the cyber world will go here. Most cases, this blog will reflect the happiness of our staff in reaching successful solution to an issue (s)he worked on. A reference for other fellow SAGEs who come across similar issues later