I am a first time web app developer trying to develop a web application. I downloaded MAMP and have a simple index.html file in the htdocs folder. The apache root directory is also set to htdocs folder.

But for some reason it would not execute index.html when i type localhost:8888. I used to have a different folder in htdocs and now the link is always directed to localhost:8888/folder instead of localhost:8888/index.html. How can i direct the MAMP to open index.html and not that folder?

link|improve this question
feedback

migrated from stackoverflow.com Nov 22 '11 at 8:23

This question came from our site for professional and enthusiast programmers.

1 Answer

Did you set the serverroot or documentroot. set the documentroot to the proper value. In addition, make sure you restart the server.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown