: How to configure apache2 to just save certain POST requests without even passing them to application? I'm running Apache in front of glassfish server using BalancerMember. For performance reasons
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 example.com/upload then the content of the post (body) should go into a file.
More posts by @Si4351233
1 Comments
Sorted by latest first Latest Oldest Best
What do you mean by specific POST requests. Does your application have some kind of API. Are there parameters in the POST request which you can filter for? If so you may need to do this in your application. For every request that comes in run it through a filter then save the POST requests you want return the status code and allow others to pass.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.