kqueue based C++ non-blocking http server on Unix.
put your text file in the ./static directory.
to compile:
$ cmake ./
$ make
to start a server:
$ ./KMRhttpd 8000 # 8000 as the listening port.
If you cannot execute the Python cgi script, please try to set the mode of cgi script
$ chmod +x *.cgi
https://github.com/EZLippi/Tinyhttpd (multithreaded tinyhttpd)