HTTPS SSH

modcgi: a simple way to serve CGI executables

INSTALL

$ npm install modcgi

QUICK START

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

http.createServer(cgi.createApp('path/to/cgi', {
  // Set debug level, no debug if ommited, 2 = very verbose
  debug: 2,
  // Set the current working directory of the cgi script
  cwd: 'path/',
  // Set the virtual path the script will use to respond
  // Defaults to '/' if ommited
  scriptName: '/'
}).listen(80);

LICENSE

This module is released under the [MIT License] [license].

[license] : http://www.opensource.org/licenses/mit-license.php