I am wanting to create C++ modules to load with Linux Apache web server, to give it additional functionality while not requiring a new process to be executed. I want to do this because I believe it would be faster then cgi-bin programs which require a new process space every time they start. In MSWindows you have DLLs (Dynamic Link Libraries) which can be loaded along with a main program.
How can I create such modules/DLLs in Linux C++? Or, do you know of a book that teaches this?