mod_cpp 0.1 review

Download
by rbytes.net on

mod_cpp easily write an Apache modules in C++. The way this thing works is that there is a class "Module", with virtual functions

License: Freeware
File size: 4K
Developer: Ilya Volynets
0 stars award from rbytes.net

mod_cpp easily write an Apache modules in C++.

The way this thing works is that there is a class "Module", with virtual functions for all Apache request processing API hooks. What one needs to do in order to get it rolling is:

Download the header, and include it in your own C++ source file.
Derive own class from module
Override needed virtual functions
Create static variable of your class
Assign pointer to this variable to "theModule"
Put THE_MODULE(mymodule) in the beginning of .cpp file

Of course this thing is far from complete. It's even far from being useful, I'd say. There is no nice support for Apache configuration directives or action handlers yet, but I think it might provide as a good starting point. I will be adding features to it as I do my own development in this area, but any suggestions / comments / code are welcome as always.

Requirements:
Apache 1.3.x
C++ compiler

mod_cpp 0.1 keywords