🎉 New here? Use the promo code NEWFAM at checkout to enjoy 25% off your first order! Don’t miss out! 🎊
How to Disable Directory Browsing Using the htaccess Rule - Knowledgebase - HarmonWeb

Knowledgebase

How to Disable Directory Browsing Using the htaccess Rule Print

  • 0

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




Was this answer helpful?
« Back