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
Password Protect Directories
Within control panel select Password Protection. Select the directory you would like to protect....
When I type in my domain it goes to ultrawebhosting.com
You may have the IP cached of the previous server on your system. Try a reboot. If you run WinNT,...
Setting up Zend Framework
When setting up Zend Frameworks in your hosting account be sure to upload your frameworks folder...
Troubleshooting Cloudflare errors
You may encounter errors using CloudFlare from time to time. This article may help to resolve...
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...
