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
htaccess referral redirect
It is often useful to redirect a visitor to a page based on the referring website. There are...
Why do I get emails for cron jobs?
This is the default. If you would like to disable receiving emails when a cron job runs append...
Heartbleed Vulnerablity, Risk and Fix
The Heartbleed bug (http://en.wikipedia.org/wiki/Heartbleed_bug) is a serious vulnerability which...
Why does it show the Ultra Web Hosting home page when I go to my site?
There are several reasons for this. Ensure you do not have https at the beginning of your...
I can not move out of the / directory, why not?
For security reasons, you cannot move out of the root folder of your own domain.
