uh
yes ? that's the goal, using a well known and well tested and generic server, like apache, or lighttpd, or tipidee, or tittypee, or, any other ? whichever fits your needs ?
that's the goal, cgi is a common interface for writing gateways (hence the name CGI)