Disable directory browsing using CPanel
If your are using cpanel then 1.Login to your CPanel 2.Click Index Manager 3.click on the icon to open the directory or Click on the directory name which you want to disable the directory browsing. 4.Select No Index 5.click Save