How to disable directory browsing using the htaccess Rule?

 

For security purposes, you should disable directory browsing on your website so no one can see the files/directories of your website.

You can disable Directory Browsing by adding the below line to your dot htaccess file.

Options -Indexes

War diese Antwort hilfreich? 0 Benutzer fanden dies hilfreich (0 Stimmen)