You can disable directory browsing at several levels like everything else. In order to do that:

  1. Edit either the http.conf or a specific .conf file or the .htaccess file.
  2. If exists, look for “Option Indexes”
  3. Replace it or create a new line with “Options -Indexes”