I'm running Apache in front of glassfish server using BalancerMember.
For performance reasons I would like that POST requests on certain endpoint are just saved to a file without passing them to application (and to return correct HTTP return code).
How to configure Apache to do that?
EDIT: In other words, if a POST request is for path
http://example.com/upload then the content of the post (body) should go into a file.