Index Manager

The Index Manager can stop people from seeing a list of all your files in a folder (the "Index of/" page that appears when you do not have an index.html file.)

If a directory on a site does not contain an index file, it will by default simply list every file in that directory in the visitor's browser. This is not always desirable, and the Index Manager allow you to turn this feature off.

How to Use the Index Manager

  1. Go to cPanel and click Index Manager.
  2. Select Web Root or the domain name or subdomain you want to view. Click Go once selected. (Selecting Web Root will allow you to see all the publicly visible folders on your account.)
  3. Click on a folder icon to look inside. Click on a folder name to change it.
  4. To disable directory indexing, change the setting to "No Indexing".
    To enable directory indexing, change the setting to anything except "No Indexing".

Note: If you have previously manually edited your .htaccess file using tutorials such as joudiSoft's Directory Index tutorial, the cPanel editor will not recognize your code and will append its code to the end of yours. This could result in invalid .htaccess code and an Internal Server Error. Example:

  • If you have added a Directory Index line to your .htaccess file like this:
    DirectoryIndex index.php
  • Following these steps may cause cPanel to produce this code:
    DirectoryIndex index.phpOptions -Indexes

This may be resolved by moving the cPanel code to a new line, like this:

Options -Indexes
joudiSoft support would be happy to assist you in resolving any error on your website. Please contact us via phone or Email any time.

  • 1 Users Found This Useful
Was this answer helpful?

Also Read

Custom Error Pages

What are Custom Pages for Errors? When your website generates an error, such as a 404, it...

What Are Cron Jobs?

cron is a Linux utility which schedules a command or script on your server to run automatically...

How to Set a Cron Job to Use a Specific php.ini File

Some scripts executed with a Cron Job require a specific php.ini file to be used. When...

Error Pages Codes

What are Error Codes? All HTTP requests (the type of requests generated by your browser when...

Setting a Cron to Run at a Specific Date and Time

In order to correctly set joudiSoft's servers to perform a desired task in the form of a cron...