Contoh CGI-Node

var cgi = require('cgi');
var http = require('http');
var path = require('path');

var script = path.resolve(__dirname, 'hello.cgi');

http.createServer( cgi(script) ).listen(80);
smc181002