only modified response Location when using custom rootPath