Writing Apache Modules with Perl and C - O'Reilly Media.
I'm looking for some feedback on a strategy for writing a module. The module will require some amount of data to be maintained from page hit to page hit, and I'm thinking that because of apache 2's multi-process multi-thread model, I'd use a daemon to do the actual grunt work for the module and just have the apache module code send messages to the daemon, passing the necessary information back.
To append the path of a module to another programming file, you’ll start by importing the sys module alongside any other modules you wish to use in your main program file. The sys module is part of the Python Standard Library and provides system-specific parameters and functions that you can use in your program to set the path of the module you wish to implement.