We have a fairly extensive site based on mod_perl that works really well, and we are very pleased with it.
Now we want to change a different advertising provider, and so, for flexibility's sake we are using mod_adbanners.c which hooks into the PostReadRequest phase, then depends on mod_include to replace environment variables. This works well on .shtml files. Now in our perl code, we'd like to get this same functionality, but the environment vars, though we can see them in the enviroment in mod_include, are not there in mod_cgi or mod_perl. The table they are using is subprocess_env, just like the doc says it should, and we've even hacked it to use the notes table, but to no avail.
Does anyone know how get mod_perl and mod_adbanner to work in the same request? As near as I can see, mod_perl handlers seem exclusive of any other handlers. Am I just compiling it wrong?
We've compiled mod_perl with PerlPostReadRequestHandler Disabled, assuming that if mod_perl was hooking into that phase, that it would be exclusive of the mod_adbanners, which hooks in at that phase.
Any suggestions?
--
Jay "Yohimbe" Thorne, alpha geek for UserFriendly