Run index.php rather than listing files
Question
I have recently reinstalled MacOSX, and at some point (without realizing it) I made it so that a directory without index.html would try instead to run index.php. This has since stopped working. My localhost runs .php files fine; it just doesn't do so unless you specifically tell it to.
There are lots of htaccess guides online but I can't actually find one that tells me how to solve this problem :s
Solution
I believe it's the "DirectoryIndex index.php" directive in .htaccess that will do the trick.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow