cgilib 0.1.1

(c) 2000, Red Hat programmed by Bernhard Rosenkraenzer <>

What is it?

cgilib is an attempt at creating an LGPLed easy to use library for developing CGI (Common Gateway Interface) programs with C++, generating HTML output that compiles with the XHTML 1.0 standard.
CGI programs are commonly used as server-side executables on www servers.

Why not just use perl?

You have that option, of course.
I personally think C++ is much more maintainable, and it avoids the overhead and memory footprint of an interpreter (VERY important for people like myself who insist on running 100 virtual webservers on a 486 ;) ).

Getting it

cgilib can be downloaded here:
source code (.tar.bz2)
source RPM (made for Red Hat Linux, should work on anything)
binary RPM for Red Hat Raw Hide (needs libstdc++ 2.95)
You can also access the CVS repository for cgilib at

The password is empty, the module is called cgilib.
If you want CVS write access, contact


make -f Makefile.cvs
./configure --prefix=/usr
make install


cgilib is designed for portability, so in theory it should run on any unix-like system.
It is developed in a Red Hat Rawhide environment (current Red Hat Linux 7.0 work in progress), using the following tools and libraries:

Using it:

The documentation still needs to be written; for now, read the (commented) header files in src/ and the samples in the test subdirectory.
© 2000 by bero, hosted by SourceForge