return 404 if the public request url does not start with uriCommonPrefix