Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fastcgi

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastcgi

Simple, robust node.js web server that runs FastCGI applications

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
29
increased by262.5%
Maintainers
1
Weekly downloads
 
Created
Source

FastCGI for Node.js

fastcgi is an extremely simple web server that serves a FastCGI application.

Install it (globally) with npm:

$ npm install -g fastcgi

Suppose you have a FastCGI application (e.g. Django) listening on Unix socket /opt/myapp/socket, you don't want to set up Apache httpd, nginx, or anything else:

$ fastcgi --port=8888 --socket=/opt/myapp/socket

Voila! Instant web application. Basically, fastcgi exports a FastCGI/unix service to be an HTTP/inet service.

Usage

fastcgi is an npm package and command-line tool

$ ./cli.js --help
Usage: node ./cli.js [options] <FastCGI program> [program arg1] [arg2] [...]

Options:
  --die     Exit after serving one request                     [boolean]
  --log     Path to log file
  --port    Listening port number                              [required]
  --max     Maximum allowed subprocesses                       [default: 25]
  --daemon  Daemonize (run in the background); requires --log  [boolean]
  --lock    Lockfile to use when daemonizing
  --socket  Unix socket FastCGI program will use               [required]

The --daemon flag is helpful. It will make fastcgi run in the background.

License

Apache 2.0

Keywords

FAQs

Package last updated on 09 Nov 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc