Easy way to dump running server config for Apache2.0/2.2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 with

apache2 -S

only that seems to be limited to listing ServerName vhost values and seems to ignore ServerAlias values.

Been through google and the man pages and nothing.

Is there a way to dump apache's parsed config from a running server with one easy command?
==========

I should add that I need to automate this on 80+ running servers, so changing the config is a bit of a non starter.

TIA for any ideas!

Cheers

Tim


--
Tim Watts
Personal Blog: http://www.dionic.net/tim/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux