Updated for hosting in IIS, also required disabling of WebDav to get api controllers to work