[users@httpd] Re: Conditional response body modification

2014-04-25 Thread Doug Strick
I wasn't able to come up with anything further on the mod_ext_filter solution. I did come across mod_parp http://parp.sourceforge.net ( http://parp.sourceforge.net). It says it's able to parse the request data and make it available to other apache modules. I've gotten it compiled and enabled on

Re: [users@httpd] Re: Conditional response body modification

2014-04-25 Thread Eric Covener
Anyone have any ideas how I can make the HTTP_COOKIE data available to mod_substitute? Let me know if I'm completely off base here in understanding what this module can do as well. Thanks In 2.4, it seems like you should be able to register mod_substitute via mod_filter. mod_filter has a

[users@httpd] Re: Conditional response body modification

2014-04-25 Thread Doug Strick
In 2.4, it seems like you should be able to register mod_substitute via mod_filter. mod_filter has a match parameter that in 2.4 is an ap_expr expression, so it can ready basically anything floating around in the server. mod_filter can be pretty intimidating though. I really wish I could

[users@httpd] Re: Conditional response body modification

2014-04-17 Thread Doug Strick
I've come up with the below config using mod_ext_filter which isn't desirable, but it's the only thing I've been able to come up with so far. It's not working exactly yet. Any suggestions? SetEnvIf HTTP_COOKIE USER_TYPE=test FILTER=$1 *Inside VirtualHost:* ExtFilterDefine doug mode=output