kcgi – minimal CGI and FastCGI library for C/C++

submited by
Style Pass
2021-06-21 03:30:05

kcgi is an open source CGI and FastCGI library for C/C++ web applications . It is minimal, secure, and auditable.

To start, install the library. Then read the deployment and usage guides. Use the GitHub tracker for questions or comments, or find contact information there for direct contact.

For a fuller example, see sample.c, or jump to the Documentation section. (Want a C++ version? See samplepp.cc.)

kcgi supports many features: auto-compression, handling of all HTTP input operations (query strings, cookies, page bodies, multipart) with validation, authentication, configurable output caching, request debugging, and so on. Its strongest differentiating feature is using sandboxing and process separation for handling the untrusted input path.

First, check if kcgi isn't already packaged for your system, such as for OpenBSD, FreeBSD, Arch Linux, and so on. (If it is, make sure it's up to date!) If so, install using that system.

Leave a Comment
Related Posts