Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/findsolu/public_html/qa-include/qa-db.php on line 66
Disable directory indexes / browsing / listing in CPanel - FindSol.com
  • Register
Welcome to FindSol.com, where you can find Solutions of your problems, ask questions and receive answers from other community members.

Disable directory indexes / browsing / listing in CPanel

+1 vote
219 views

While accessing my website visitor always redirect to index page but if the index page does not exist in a directory, server shows the list of files and directories. I want to turn off the directory browsing for security reasons. 

asked Jul 7, 2014 by papu

1 Answer

0 votes

This is really simple to avoid your web content to being display overall.Directory browsing can easily be disable through .htaccess but i feel easiest to do it from cpanel.

  • Login to your CPanel
  • Click on Index Manager
  • Select the website/sub domain you want to disable director listing for
  • Select public_html from the list of folders
  • Next click on ‘no indexing’ and click Save
  • Now directory browsing should be disableddisbale directory browsing

 

answered Jul 7, 2014 by admin
...