Added support for defaultLocation from the mac port. Also extended simple webserver so it will try the defaultLocation if the path you are navigating to does not exist, so /docs/ will be tried as /docs/index.php if defaultLocation = 'index.php'.