Hide folders with .htaccess
snippet in htaccess

Hide folders with .htaccess

user5370

Options -Indexes

Hide folders with .htaccess

user7925

IndexIgnore *