Safdar Mirza, My personal blog

How to disable directory listing for website folder

How to disable directory listing for website folder

Add or modify .htaccess file with following content.

Options -Indexes

Leave a Reply

Your email address will not be published. Required fields are marked *