junwei/cfcgi

Project ID: 25429

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 7 x86_64 (0)* EPEL 7 (80 downloads)

* Total number of downloaded packages.

External Repository List

The following repositories are accessible during builds