I am basically looking for tips and tricks on how to approach that problem.
I have a Server Software (Linux), which is written in C++. What I need to do is to provide some information, that is generated inside that software, via a http call to the apache webserver.
Of course it would be possible to store the data in the database and write a servlet for it, or use IPC to get the data, but I want to keep it simple and bundled in one file. And also I want to know if the idea would work.
So the workflow would look like: Client -> Apache Webserver -> C++ Software
Is there any existing library or something that could handle the Apache -> C++ connection? Or would it be something like just redirecting the request to a socket in c++ and do it manually? Basically something like the tomcat connector.
EDIT
Please note that the server software is running permanently in the background, and should not be "started" by the call