Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Dev

dumping running config

 

 

Apache dev RSS feed   Index | Next | Previous | View Threaded


m.watts at eris

Oct 23, 2009, 5:39 AM

Post #1 of 3 (160 views)
Permalink
dumping running config

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).


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
Attachments: signature.asc (0.19 KB)


nick at webthing

Oct 23, 2009, 7:04 AM

Post #2 of 3 (144 views)
Permalink
Re: dumping running config [In reply to]

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.

--
Nick Kew


m.watts at eris

Oct 23, 2009, 7:26 AM

Post #3 of 3 (144 views)
Permalink
Re: dumping running config [In reply to]

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
Attachments: signature.asc (0.19 KB)

Apache dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.