Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

up vote 1 down vote accepted

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.

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
add comment

Your Answer

 
discard

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.