How to solve the Directory Listing Denied in cPanel?

How to solve the Directory Listing Denied in cPanel?

The article describes the steps to solve the Directory Listing Denied in cPanel.

If your site is set to "No Indexing", you might get this error. This will cause a 403 error if you have no default index page.
You can disable "No Indexing" in the Index Manager in cPanel. The root folder should be set to "Default System Setting".

Renaming your home page file to "index.html" or "index.php" may work.
Finally, you can set the "Directory Index Code" in your .htaccess file.
    • Related Articles

    • How to change the DirectoryIndex while using cPanel?

      The article describes the steps to change the DirectoryIndex while using the cPanel control panel. The Directory Index is an .htaccess code that specifies the default page for your domain name. The .htaccess file is recursive - if you place it in ...
    • How to create a file using File Manager in cPanel?

      The article describes the steps that you need to perform to create a file using the File Manager when using cPanel control panel. In cPanel, find the Files section and select "File Manager" Choose the "Web Root" directory. Check the "Show Hidden ...
    • What is the default cron path in Enhance control panel?

      The article describes the default cronjob path for your website in Enhance Control Panel. The default path for PHP in Enhance is /usr/bin/php, and the path for your home directory can be achieved in two ways, you can use /var/www/{uuid of website} ...
    • How to delete a file using the File Manager while using cPanel?

      The article describes the steps that you need to perform to delete a file using the File Manager when using cPanel control panel. In cPanel, find the "File Manager" in the Files section. Click the "Web Root" directory. Put a checkmark next to "Show ...
    • How to connect via FTP when using cPanel?

      Connecting to your server is fast and easy when using FTP access. Hivium has the cPanel File Manager that you can use to upload files to your server; however, the File Manager requires you to upload one file at a time. With FTP, you can upload all ...