junwei/cfcgi

Description

CFCGI is a fastcgi server which writed by c++, it is used to write web page with c++.
For example:

// declare handler void hello_handler(FcgiContext& ctx); // MUST implement the `Init` function. void Init() { // Use `Get` to register the http get methods handler, the first parameter is the uri path, and the second param is the handler. Get("/hello.so", hello_handler); } void hello_handler(FcgiContext& ctx) { // ctx.Out is a refence of ctx.Response.Out, it's a stringstream object, used to write reponse to the web server. ctx.Out << "hello, world" << endl; }

Installation Instructions

install

./configure --prefix=/usr --conf-path=/etc --lib-path=/usr/lib64 --bin-path=/usr/bin --include=/usr/include/cfcgi make make install

http://cfcgi.zhanfang.art

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Epel for CentOS 7 x86_64 (0)* Epel for CentOS 7 (2 downloads)
Fedora 29 x86_64 (0)* Fedora 29 (7 downloads)
Fedora 30 x86_64 (0)* Fedora 30 (3 downloads)

* Total number of packages downloaded in the last seven days.

External Repository List

The following repositories are accessible during builds