Skip to content

A program to run JavaScript cgi scripts on a web server such as Apache.

License

Notifications You must be signed in to change notification settings

mast1ff/node-cgi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@TKNF/NODE-CGI

This package is a fork of cgi-node.

Scripts to run JavaScript as CGI on Apache, Nginx, and other web servers.

Setup

  1. Install Node.js on your web server.
  2. Download node-cgi.js, ejs.js and ejs-utils.js from here and copy them into the cgi-bin folder.
  3. Update the first line within node-cgi.js to point to the location of the node executable you uploaded earlier.
  4. Specify the folder where the session files are stored in process.env.SESSION_PATH in cgi-node.js
  5. Add the Action and Handler to your config file or .htaccess file.

This is done.

About

A program to run JavaScript cgi scripts on a web server such as Apache.

Resources

License

Stars

Watchers

Forks

Packages

No packages published