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
  • 2,111

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
  • 24,361
  • 42
  • 136
  • 188