remove entry folder, add path_info support