Apache: Enable/disable folder listings with .htaccess

Firstly, if you are not using SSL for all your sites, you should step it up! NameCheap's SSL certificates start at only $9. There's no excuse!
Firstly, if you have not tried Digital Ocean's SSD Virtual Servers for only $5/mo, I highly recommend them!

Create a .htaccess file in the desired folder.
To enable listings:

 Options +Indexes

To disable:

 Options -Indexes

About this entry

Good Reads