To allow directory browsing, add the following line in your .htaccess file
Options +Indexes
Alternatively, you may choose to disallow directory listing on your Apache webserver. To do so, add this:
Options -Indexes
Note that your .htaccess file may not exist yet, or it can be hidden.
Wow and what if i don’t have a .htaccess file ?
Hi 123456
.htaccess is a hidden file in your Linux directory. Depending on the file browser you use, it may be hidden from your view.
In any case, you can create the .htaccess file yourself and add the contents to it as shown in my blogpost.