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

What do you mean when you say gigabyte, megabyte, GB, and MB?

The smallest unit of measurement on a computer is the bit. There are almost always eight bits in...

Propagation Times

Propagation is the process of updating a domain with new nameserver (DNS) information across all...

Ports Used for cPanel, Email, Web

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

What are email forwarders?

Email forwarders allow you to forward a copy of all mail from one address to another. For...

What is an Uptime Guarantee?

Server uptime refers to the amount of time in a given period a server stays up and running....