Re: [users@httpd] Easy way to dump running server config for Apache2.0/2.2?

2012-02-02 Thread Tim Watts
On 02/02/12 22:59, Pete Houston wrote: On Thu, Feb 02, 2012 at 04:48:42PM +, Tim Watts wrote: I don't have mod_info installed on 90% of the servers in question, sadly. It is standard on my new build servers but I have a load of legacy stuff. In that case, perhaps something as simple as the

Re: [users@httpd] Easy way to dump running server config for Apache2.0/2.2?

2012-02-02 Thread Pete Houston
On Thu, Feb 02, 2012 at 04:48:42PM +, Tim Watts wrote: > I don't have mod_info installed on 90% of the servers in question, > sadly. It is standard on my new build servers but I have a load of > legacy stuff. In that case, perhaps something as simple as the attached script would do? > BTW the

Re: [users@httpd] Easy way to dump running server config for Apache2.0/2.2?

2012-02-02 Thread Tim Watts
On 02/02/12 16:31, Pete Houston wrote: On Thu, Feb 02, 2012 at 04:15:13PM +, Tim Watts wrote: Kind of like what mod_info gives. Specifically I want a dump of all the active ServerName and ServerAlias directives. Haven't you answered your own question there? lynx --dump http://name.of.serv

Re: [users@httpd] Easy way to dump running server config for Apache2.0/2.2?

2012-02-02 Thread Pete Houston
On Thu, Feb 02, 2012 at 04:15:13PM +, Tim Watts wrote: > Kind of like what mod_info gives. Specifically I want a dump of all > the active ServerName and ServerAlias directives. Haven't you answered your own question there? lynx --dump http://name.of.server/server-info | grep -E 'Server(Name|A

[users@httpd] Easy way to dump running server config for Apache2.0/2.2?

2012-02-02 Thread Tim Watts
Hi folks, I need a quick way to dump the parsed server config from a running Apache2 server. == Kind of like what mod_info gives. Specifically I want a dump of all the active ServerName and ServerAlias directives. I *could* do something dirty with perl, but I had temporary hope wit