Knowledgebase

How to disable directory listing in cpanel?

Disable directory listing in cpanel

Index Manger in cPanel

The Index Manager allows you to customize the way a directory will be viewed on the web. You can select between a default style, no indexes, or two types of indexing. If you do not wish for people to be able to see the files in your directory, choose No Indexing.

Steps :

1. Login to your cPanel.
2. Select Index, from advance section.(In search box type index).
3. The directory list will be dislpayed. Select the directory you want to turn off directory listing.
4. Select No Indexing and click save.


You have successfully disabled the directory listing.

  • disable directory listing, directory listing in cpanel, customize directory listing, disable files in a cpanel directory, disable directory listing in cpanel
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

System Requirements

Most current web servers with PHP & MySQL installed will be capable of running WHMCS. The...

Common logs file paths

Log files are helpful in troubleshooting issues and in monitoring the performance of cPanel...

Disable ModSecurity in cPanel

What is ModSecurity?Mod_security is an apache module that helps to protect your website from...

How to disable the listing in a non-cPanel CentOS server?

How to disable the listing in a non-cPanel CentOS server?1. Locate your httpd.conf file. Normally...

Setting a cron job

What is a Cron Job?A cron is a time-based scheduler which uses cron to schedule jobs periodically...