On Fri, 2009-10-23 at 15:04 +0100, Nick Kew wrote: > Mark Watts wrote: > > This may have been asked for before so apologies if it has. > > > > In #httpd on FreeNode, we often get people asking if apache httpd can > > dump its running config to a file for use on other servers or whatever. > > > > Is this at all possible; mod_info does some of it so I would think yes, > > (but I'm not a programmer). > > Alternative suggestion: use a static config-analysis scripts. > > I don't recollect names, but I do recollect searching CPAN and > finding two likely-looking candidates, of which one did a > good job of what I needed. >
Granted, these would parse the configs on disk into a single file; what about the case where you want the actual running config? I agree there should be no difference, and configs should be archived before modification, but the case exists where the config on disk doesn't reflect running config. As an aside, I suspect a tool to generate a single httpd.conf file from a multi-file installation (Debian anyone?) would be a useful addition to the other tools. Mark. -- Mark Watts BSc RHCE MBCS Senior Systems Engineer, Managed Services Manpower www.QinetiQ.com QinetiQ - Delivering customer-focused solutions GPG Key: http://www.linux-corner.info/mwatts.gpg
signature.asc
Description: This is a digitally signed message part
