You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Campbell, Lance" <la...@illinois.edu> on 2019/10/11 19:16:21 UTC

[users@httpd] How to proxy based on post string value

Apache 2.4
Is this possible to do?

Use Case:
An Apache web server receives a POST web requests.  

If the POST request “body” contains a particular string value I want to proxy the post request to a different web server.  The response from that web server will be sent back to the original request.

If the original web request POST body does not contain a particular string value then I will send a 200 response back.

Thanks,

Lance Campbell