
The scgi handler allow Cherokee to communicate with SCGI programs.
This module accepts one parameter, and at the same time, supports all the CGI handler parameters:
These parameters are also available:
Directory / {
Handler scgi {
Server localhost:4001
}
}
This configuration would use a SCGI server running on the port 4001 as the default request handler.
Directory / {
Handler scgi {
Server localhost:4002 {
Interpreter "/usr/lib/scgi/my_app1.py 4002"
}
}
}
Basically it is the same than the previous one, but it will launch a new SCGI server (/usr/lib/scgi/my_app1.py) if it can't contact one on the port 4002.