title: Configure Access-Control-Allow-Origin for monit
body: <p>I am trying to grab json data from monit and display it on a status page for management to see the current status of a handful of processes.  This info would be displayed in Confluence running on the same machine but since Confluence (apache) and monit are running on different ports it is considered to be cross domain.
  I know I can write a server side process to serve this data but that seems to be overkill and would actually take longer that it took to set monit up in the first place :)
  The simplest solution is to configure monit's headers (Access-Control-Allow-Origin) to allow the other server.  Does anyone know how to do this?  I suspect there is a way since M/Monit would run into the same issue.  I have tried some blind attempts on the "httpd... allow" lines but it complains about the syntax with x.x.x.x:port or using keyword "port" in that location.</p>