title: Forwarding apache request to a c++ program
body: <p>I am basically looking for tips and tricks on how to approach that problem.</p>
  <p>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.</p>
  <p>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.</p>
  <p>So the workflow would look like:
  Client -&gt; Apache Webserver -&gt; C++ Software</p>
  <p>Is there any existing library or something that could handle the Apache -&gt; 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.</p>
  <h3>EDIT</h3>
  <p>Please note that the server software is running permanently in the background, and should not be &quot;started&quot; by the call</p>