Showing files in a directory Using Apache.

If you want to list all files in a directory that doesn’t use an index.html (or index.php) file, you can create an .htaccess file with the following contents

Options +Indexes

This will tell apache that you want to list all files in the directory.

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.