1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Listing the contents of a directory that has no index
It is possible to change this so that the browser lists the files present.
Either there is no index document or the directory is protected.
If you think there is a server error, please contact the site administrator.
Actions to be carried out
Create an .htaccess file in the folder in question
Insert the following command:
Setting up the .htaccess file to enable directory listings
Please note that this solution will only work if you if you do not have any index in the directory concerned: you must remove any index.php, index.html, index.htm files etc, along with the welcome.php file if present, as this is also an index just like index.html/php etc.
Link to this FAQ: