I have Apache2.2.? running in front of a java application (standalone, not running in tomcat) which is accepting picture uploads on port 8000.
Apache performs a simple proxypass and proxyreverse as follows:
ProxyPass /upload/ http://127.0.0.1:8000/
ProxyPassReverse /upload/ http://127.0.0.1:8000/
However, I have an issue with broken uploads. This java application doesn't log the normal http POST that I can see in the apache logs, leading to simply not having enough information on the backend.
So, after some background information, let me get to my question.
What is the correct way to implement Apache to cache uploads until the upload is complete before forwarding onto another service via mod_proxy?
And, also, does this support broken uploads? If we are using a cache, does it append the previously initiated upload, or does it start afresh?
I appreciate any help you can offer regarding my direct questions. Please do not say "Just get the developers to implement proper logging for the uploads" - I'm aware of that, but that takes time. I just want to know in theory if such a thing is possible and to be pointed in the right direction, such as modules I need to include and how the theory ties together.
Thank you for your help and time.