In the directory that you wish you turn off directory indexing, you can do it under Index Manager in the control panel or by creating an .htaccess file and include the following line:
IndexIgnore */*
To turn off indexing in all directories create a .htaccess file in your root/main directory (before public_html) and add the following line:
Options -Indexes
To enable it create an .htaccess file with the following line:
Options +Indexes
- 460 Users Found This Useful
Related Articles
Why is my account suspended?
Why is my account suspended? If you are receiving an account suspended page when trying to access...
Show longer file names in directory/folder index
If you've ever wanted to show longer file names in your directory listing just create or edit an...
Troubleshooting Cloudflare errors
You may encounter errors using CloudFlare from time to time. This article may help to resolve...
SSL - Creating a CSR in Windows 2003
Creating the CSR IIS Windows 2003 or 2000 Server: From Administrative Tools, run the Internet...
How can I change the index listing in a directory?
You can change the initial page that is sent to client requests when a directory is accessed by...
