How can I turn off directory indexing?

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

Was this answer helpful?

Related Articles

How do I cancel my account?

We are sorry to hear you would like to cancel your account! If there is anything we can do,...

What is the location of curl?

Curl is located @ /usr/bin/curl

Add Flash Chat to your Website

We ran into this website recently which allows you to easily insert a flash chat room into your...

When I upload an htaccess file it disappears

On unix/linux systems, files that start with a . are considered hidden so many ftp programs do...

Do you have a firewall?

Yes, our servers have firewalls. For security we close off unused ports and update the server...