FastCGI to CGI wrapper server
is a server which implements the FastCGI
Protocol to execute CGI scripts. FastCGI was designed to overcome the CGI
protocol's scalability and resource sharing limitations. While CGI scripts
need to be forked for every request, FastCGI scripts can be kept running and
handle many HTTP requests.
is a simple server that translates FastCGI
requests to the CGI protocol. It executes the requested CGI script and
translates its output back to the FastCGI protocol.
Modern web frameworks and web applications usually come with the capability to
run as FastCGI servers. slowcgi
is not intended
for these applications.
opens a socket at
, owned by www:www, with
permissions 0660. It will then
and drop privileges to user
The options are as follows:
Mark R. Brown,
FastCGI Specification, April
D. Robinson, K. Coar,
The Common Gateway Interface (CGI) Version 1.1,
RFC 3875, October
- Do not daemonize. If this option is specified,
slowcgi will run in the foreground and log to
- chroot(2) to
path of /
effectively disables the chroot.
- Create and bind to alternative local socket at
- Change the owner of
user and its primary group instead of the
- Drop privileges to user
instead of default user www and
chroot(8) to the home
directory of user.
server first appeared in
only implements the parts of the FastCGI
standard needed to execute CGI scripts. This is intentional.