make redirect use request_uri