title: Mapping a function in Slim to '/' returns directory structure
body: <p>My question is much similar to this one:
  <a href="https://stackoverflow.com/questions/32568765/default-get-route-with-slim-php">Default GET route with Slim PHP</a>
  But I have a query:
  Whenever I try to access (localhost/mySite), instead of executing the mapped function (mapped to '/'), I get the directory structure of my folder.
  Now that is pretty obvious as I don't have any index file in my site folder.
  The function doesn't even gets called. Is there anyway to do this?
  Thanks.</p>