Disable Apache Directory Listing / Browsing Using .htaccess File On Ubuntu 20.04

Disable Apache Directory Listing / Browsing Using .htaccess File On Ubuntu 20.04

in This Tutorial you will learn "How To Disable Apache Directory Listing Browsing Using .htaccess File On Ubuntu 20.04" In Apache, directory listing is a default behavior that displays the contents of a directory if there is no default index file such as index.php or index.html. In a production environment, enabling directory browsing is not recommended since it may lead to information leakage and help attackers to determine how a website or web application is structured and increase the attack surface. Apache - Apache is the most widely used web server software.