You can just put a blank file named index.html in that directory.

A “more correct” way is to put a file named .htaccess in that directory consisting of only this line. Options -indexes What is especially nice about doing it this way all subdirectories of that directory also get their directory listings turned off.

You could then turn on indexes for one of those sub-directories. Just by making a .htaccess file in that directory with: Options +indexes

Popular Posts You May Read

Explore more hosting insights, tips and industry updates.

How to Add SSH Keys to Your GitHub Account

How to Add SSH Keys to Your GitHub Account

In this article, we will explain how to add SSH keys to your GitHub Account.…

How to Configure Password Strength for Users in WHM

This guide will help you understand how to configure password strength for users in WHM.…

W3C. There are many things behind these 3 characters

W3C. Behind these three characters there are lots of things which cover key organizations on…