Remediation Steps
Follow the steps below to remediate this finding on Apache webserver.
Remove the Indexes option from the Directory directive in your Apache configuration:
<Directory /var/www/html> Options -Indexes </Directory>Alternatively, add the following to your .htaccess file:
Options -IndexesReload Apache:
sudo systemctl reload apache2