Rivet CGI allows Rivet applications to run as a CGI, either automatically (i.e., no modifications to the applications themselves from "mod_rivet") from Apache, as a standalone CGI under any Web server, or as a standalone HTTP server itself. It can be used to build Web applications that can be distributed and executed as a single file in either CGI or Standalone HTTP mode.