On 6/7/06, Bogdan Taru <[EMAIL PROTECTED]> wrote:

    Hello,

 I would like to query the Apache Status informations (the ones provided
by mod_status, for example) from an external program. Is there a way to
do this without using the rather un-elegant way of accessing an
URL/calling 'apachectl status' and parsing the output? For example, is
there a certain API that I could use in order to query the status
parameters?

No need to use apachectl.  You can directly access
http://yourserver.example.com/server-status?auto.  The "auto" part
asks for a more-easily-parsable output format.  Other than that, if
you want a "real API", you'd need to use the standard apache module
API.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to