path is now url of app, not _id; stripped trailing slashes