remove index.* in request url