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.
2.1m questions
2.1m answers
60 comments
57.0k users