dicky96 Posted April 9, 2008 Share Posted April 9, 2008 I'm sure this is just some silly configuration error If I create a file called index.html and place it in a subfolder of my htdocs folder then http://localhost/subfolder displays the html file, all OK so far If I put an index.php file in the subfolder (and remove index.html) then http://localhost/subfolder just displays a directory listing of the folder I have to put http://localhost/subfolder/index.php to actually run the php file What do I have set wrong? TIA dicky Link to comment https://forums.phpfreaks.com/topic/100351-solved-apache-not-finding-indexphp/ Share on other sites More sharing options...
effigy Posted April 9, 2008 Share Posted April 9, 2008 DirectoryIndex Link to comment https://forums.phpfreaks.com/topic/100351-solved-apache-not-finding-indexphp/#findComment-513116 Share on other sites More sharing options...
dicky96 Posted April 10, 2008 Author Share Posted April 10, 2008 Thank you, it works fine now Link to comment https://forums.phpfreaks.com/topic/100351-solved-apache-not-finding-indexphp/#findComment-514278 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.