Using the Index Manager in cPanel for VPS (Unskinned)
How to use the Index Manager.
This demo assumes you've already logged in to cPanel.
Let's learn about the Index Manager.
1) Scroll down.
2) Click the Index Manager icon.
The Index Manager enables you to control how directories on your website are displayed.
If there is no index.html file in a given directory, the contents of that directory will be displayed in a browser. This is typically undesirable, and can cause security issues.
With Index Manager, you can set your account up to not allow your directory contents to be shown.
3) Navigate to the directory we want to set up Index Manager for.
Let's set up Index Manager for the demo directory by clicking the demo directory folder.
There are four settings to choose from:
Default System Setting allows the directory contents to be shown.
No Indexes does not allow directory contents to be shown.
Standard Indexing (text only) prevents browsers from viewing the contents of directories that do not contain image files.
Fancying Indexing (graphics) prevents browsers from viewing the contents of directories that do contain image files.
In this case, we do not want the contents of this directory shown, so choose the No Indexes option.
4) Then click the Save button.
That's it! The Index settings have been updated, and visitors can no longer view the contents of the demo directory.
5) Click the Go Back link.
Now let's change the setting back to default, thus allowing visitors to view the contents of this directory.
6) Select the Default System Setting button.
7) Then click Save.
Success! The Index Manager settings are now back to the way they were before this tutorial.
This is the end of the tutorial. You now know how to set up index directory protection with any of your directories.