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 Quote Link to comment Share on other sites More sharing options...
effigy Posted April 9, 2008 Share Posted April 9, 2008 DirectoryIndex Quote Link to comment Share on other sites More sharing options...
dicky96 Posted April 10, 2008 Author Share Posted April 10, 2008 Thank you, it works fine now Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.