views:

95

answers:

1

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

+7  A: 

I believe it's the "DirectoryIndex index.php" directive in .htaccess that will do the trick.

Tomas Kohl
Awesome, thanks mate!
Teifion