Enable directory listing using .htaccess

Create a .htaccess file with the following:

Options +Indexes
IndexOptions +FancyIndexing

To ignore certain files, use IndexIgnore:

IndexIgnore *.php

Leave a Reply

Your email address will not be published.