web.config & .htaccess

Updated .htaccess to rewrite correctly the url, and
updated the original web.config with the rewrite rules.
Deleted the folder api with the new rewrite rules is not necessary.