forked from erlware-deprecated/efcgi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
21 lines (16 loc) · 832 Bytes
/
Copy pathREADME
File metadata and controls
21 lines (16 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Rebar compatible fork https://github.com/erlware/efcgi.
===========
The efcgi application is an OTP application that supports the fast cgi
protocol. Currently the system expects to communicate with the fastcgi
server via tcp sockets only. It also expects to be started by the otp
release handling system, and configured after start by the application
making use of the system.
Starting and testing from the shell
> application:start(efcgi).
> efcgi:start(<Port Number>, <Module Name>).
This will start a fast cgi process on the specified port with the
specified module as the handler. The module must implement the
gen_efcgi behaviour or bad things happen.
If you are using fast cgi as part of an otp system the release handler
will start efcgi for you. All you need do is call efcgi:start/2 in
your initialization routine.