|
|
|
|
|
by umvi
2083 days ago
|
|
It's generally something like: 1. Configure webserver (apache, lighttpd, etc) to forward certain routes to a particular unix socket (i.e. `/tmp/fcgi.sock`) 2. Create and launch a C/C++ process that links in libfcgi.so (or similar) and has an event loop reading from the same socket (i.e. `/tmp/fcgi.sock`) After that the webserver will forward incoming requests that match to the C/C++ process over socket. |
|