I would like to know some commands to use in .htacess that allow you to do the following actions.
1- Block access to all directories so that if the user tries to see the contents of this directory be barred with a warning or redirect to a page.
2 - Block the download of .php, .js, .css, .html and image files.
3 - open a file other than index.php as page index
If possible if you can tell me other useful commands that would help me a lot.