Portal Home > Knowledgebase > Control Panel Help > Prevent Directory Listing
How do prevent directory/files listing for my website?
1. Create a .htaccess and put in the follow code:
Options -Indexes
2. upload .htaccess under /home/YOURUSERNAME/.htaccess
Add to Favourites Print this Article
Powered by WHMCompleteSolution
Accepted Payment Methods: |