mod_cpp 0.1 reviewDownload
mod_cpp easily write an Apache modules in C++. The way this thing works is that there is a class "Module", with virtual functions
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.
mod_cpp 0.1 search tags