Say that I have a directory called /fruit/ and in the /fruit/ directory exists paths like this /fruit/apples/ - and /fruit/apples/
An index.php lives in each of these -
Yes, has an index.php - /fruit/apples/
Yes, has an index.php - /fruit/oranges/
Yes, has an index.php - /fruit/pears/
Yes, has an index.php - /fruit/melons/
No, does NOT have an index.php - /fruit/
So - what is the solution here - a .htaccess file to not allow a 404 error? Nothing links to it but humans are weird and often do weird things like delete the path of a directory....
Hope that is clear!