How do I disable directory browsing?

By default, if you don't have an index file in a web accessible folder, when accessed through a browser, its contents will be listed.

To prevent the listing of the folder's contents, you should add the following line to the .htaccess file in the folder (if there is no .htaccess file, you can easily create a new one):

Options -Indexes

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Can people find out where I live based on my domain registration information?

Unfortunately, the answer is usually going to be yes. Any address and contact information you...

Ports Used for cPanel, Email, Web

The following is a list of commonly used ports that that we use: cPanel cPanel: 2082 (SSL...

How much disk space and bandwidth do I need for my website?

You probably understand what disk space is, but what is bandwidth? A bandwidth quota is a limit...

How many email accounts do I need?

That's really up to you; it depends on how many people you think will be using email on your...

What is Spam?

Spam refers to junk email that's sent out in mass quantities. On average, three-fourths of the...