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
vBulletin fsockopen() [function.fsockopen]: unable to connect
When setting up mail in vBulletin be sure you are using localhost for the mail server along with...
htaccess - Allow Let's Encrypt to Validate and Renew
When receiving the following Let's Encrypt error message:domain.com: The SSL certificate expires...
Password Protect Directories
Within control panel select Password Protection. Select the directory you would like to protect....
What is this Code 304 appearing in my stats?
304 is typically sent as a header if a visitor re-requests a document and the document has not...
Troubleshooting Cloudflare errors
You may encounter errors using CloudFlare from time to time. This article may help to resolve...
