Is it possible to hide the folders in my root folder? Just in case my index.php would disappear you know?
Could I also show 404 error not found if someone requests them?
What you want is probably
Options -Indexes
which will just give a 404 error if no DirectoryIndex file is found.
1.4m articles
1.4m replys
5 comments
57.0k users