Re: [users@httpd] Using mod_lua to modify request body before being sent to mod_proxy

2016-04-19 Thread Rainer Jung
Am 19.04.2016 um 04:41 schrieb Matt Hughes: Yeah, I misspoke when I said |LuaHookInsertFilter|; that isn’t actually implemented yet at least on 2.4. Actually have been trying the quick handler and hookfixups. What hook should I be using? What value do I return from my handler so that Apache

Re: [users@httpd] Using mod_lua to modify request body before being sent to mod_proxy

2016-04-18 Thread Matt Hughes
Yeah, I misspoke when I said LuaHookInsertFilter; that isn’t actually implemented yet at least on 2.4. Actually have been trying the quick handler and hookfixups. What hook should I be using? What value do I return from my handler so that Apache will still send the request onto the reverse

Re: [users@httpd] Using mod_lua to modify request body before being sent to mod_proxy

2016-04-15 Thread Eric Covener
On Fri, Apr 15, 2016 at 9:10 PM, Matt Hughes wrote: > I currently have Apache setup as a reverse proxy to another server. > > I was hoping to use mod_lua to slightly tweak the request body of incoming > requests before sending them off to the other server. I have mod_lua

[users@httpd] Using mod_lua to modify request body before being sent to mod_proxy

2016-04-15 Thread Matt Hughes
I currently have Apache setup as a reverse proxy to another server. I was hoping to use mod_lua to slightly tweak the request body of incoming requests before sending them off to the other server. I have mod_lua setup enough so that I have a LuaHookInsertFilter that is pointing to my