2

I'm running Apache2 on Ubuntu and the configuration is spread over several files. Is there a command to export all configuration data in use to a single file?

I would like to compare it to another servers configuration in a side by side manner.

Corey
  • 1,943
  • 12
  • 38
  • 53
  • related : https://stackoverflow.com/questions/27152943 https://superuser.com/questions/922869 https://unix.stackexchange.com/questions/129026 https://serverfault.com/questions/425894 https://serverfault.com/questions/696164 https://serverfault.com/questions/500329 https://serverfault.com/questions/489018 https://serverfault.com/questions/42539 http://httpd.apache.org/docs/current/mod/mod_info.html http://httpd.apache.org/docs/current/invoking.html – immeëmosol Jul 19 '17 at 09:10

1 Answers1

2

Yes. Enable mod_info, browse to your server at http://your.host.example.com/server-info , and save the file.

Apache Module mod_info

Description: Provides a comprehensive overview of the server configuration

This can be very handy to compare the running configuration for two or more Apache nodes in a webserver cluster.

Stefan Lasiewski
  • 22,949
  • 38
  • 129
  • 184