node js cgi bin code example
Example: cgi-node example
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);
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);