Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

Yes. Enable mod_info, browse to your server at , 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.

share|improve this answer
How could I get that mod? I'm running Ubuntu. Is there a package for it? – Corey Mar 19 '13 at 14:17
Nvm mind, found it. – Corey Mar 19 '13 at 14:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.