Are there ways to write php/python code to run as hooks in the Apache Request Processing pipeline?
Posted
by SB
on Server Fault
See other posts from Server Fault
or by SB
Published on 2010-05-02T03:57:53Z
Indexed on
2010/05/02
4:08 UTC
Read the original article
Hit count: 253
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.
© Server Fault or respective owner