Disable directory listing on a whm/Cpanel server

Disable directory listing on a whm/Cpanel server

Ever wondered about achieving more security by disabling the directory browsing/listing on whole whm server?

Follow these steps which will help you to esaily edit the apche conf from the whm and get the result in a snap!

  • Log into WHM with your admin username (most probably root)
  • Naviget to Service Configuration –> Apache Configuration -> Global Configuration
  • Scroll all the way down to Directory ‘/’ Options
  • Un-tick Indexes option (see picture below)
  • Then press Save button below
  • Now rebuild by clicking rebuild apache conf button