LibCGI example

LibCGI was created by Rodney and Monte. It is based on stacks, so instead of using plain text files for cgi programming like my EasyCGI library does, you can build your application from inside Rev using stack files. A minimal compatibility is provided thru RevHTTP so that stacks created for libCGI are able to run inside our server. I'll not provide support for libCGI or explain how to use it. Refer to libCGI manual.

Check the file libcgidemo.rev inside the stacks folder. See that each handler in the stack script is tied to the cmd parameter in the URL.

LibCGI says hello.

LibCGI says the time.

LibCGI tells the stacks in use.

LibCGI fun with params. See the URL in the browser, try changing the name parameter.