Skip to main content

Apache Status through API?

Comments

2 comments

  • cPanelMichael
    Hello @Steve Clarke, There's no WHM API 1 function to use, but the following command will produce the results you are looking for: apachectl fullstatus
    Thank you.
    0
  • Steve Clarke
    Hello @Steve Clarke, There's no WHM API 1 function to use, but the following command will produce the results you are looking for: apachectl fullstatus
    Thank you.

    Ok thanks! I was wondering where the output was coming from. I'm writing a few Slack bot commands so for this one I guess I'll have to ssh out and run that command and parse the output.
    0

Please sign in to leave a comment.