1

Does anybody know of any modules that provide the functionality to write python or PHP code to run as hooks in the Apache request processing pipeline? For instance, mod_perl lets me write PerlModules, which can contain handlers for the header parsing phase, content delivery, and even filters. I would like to do something similar in other scripting languages.

I could write it in C, but the goal is to deploy a module that would work across a number of systems. If I deliver it as binary in C, then it would require 64/32-bit versions and some other issues. With perl, I can just require certain modules installed and mod_perl2.

EDIT Ideally the module tech would be recent and not getting phased out like mod_python. If no other solutions arise in a day or so, mod_python will be accepted.

SB.
  • 156
  • 4

1 Answers1

1

mod_python allows you to write hooks that can injected at a number of points within the request phase.

Ignacio Vazquez-Abrams
  • 45,939
  • 6
  • 79
  • 84