-1

Is there a native way to get a simple HTML / XML & XSD output for Apache VHost and Directives?

On console I write:

apachectl -S

If there is no native one, is there an (open) Script / Tool (php, perl, etc.) managing this.

I'm NOT looking for server management but just for a "server config overview" which might be (iframe) included in a wiki page for references on different development machines.

2 Answers2

1

You probably want mod_info

NOTE that apache configuration is not XML.

adaptr
  • 16,746
0

From the man page for httpd:

-S Show the settings as parsed from the config file (currently only shows the virtualhost settings).

Jenny D
  • 28,400
  • 21
  • 80
  • 117