cherokee / webserver

Cherokee Web Server
GNU General Public License v2.0
564 stars 104 forks source link

add the ability to add scripting rules #1157

Open mcarbonneaux opened 9 years ago

mcarbonneaux commented 9 years ago

to add the hability to add scripting rule that can modify the traffic (request/response header, body....)...

with light/fast scripting language like lua http://luajit.org/

as traffic server apache done with lua plugin : https://docs.trafficserver.apache.org/en/latest/reference/plugins/ts_lua.en.html

or apache with mod_lua: http://httpd.apache.org/docs/trunk/fr/mod/mod_lua.html

and also apache with mod_perl that that permit traffic manipulation... http://perl.apache.org/

and also php on apache with apachefilter sapi....

skinkie commented 9 years ago

Feel free to contribute.

https://github.com/cherokee/webserver/blob/master/cherokee/gen_evhost.c#L327

mcarbonneaux commented 9 years ago

if I had time, I would have done with pleasure ... it's just to say that would lack for me to cherokee be used daily ...