Is there any way to get the Apache web server to display it's current running config, from memory, i.e. not by parsing the files in the config directories?
I've just managed to accidentally over-write the vhost config on a server (yes, I know, should have had a backup!), and while I can reconstruct it fairly easily (very new server, so simple config and hence no backup yet - that was tomorrow's task), was wondering if in general there was any way to get Apache to display its live running config, rather than just parsing the files (as httpd -S seems to do).
Have tried Googling and searching here on ServerFault, but not found anything. I can imagine this might save a few people's bacon over time. :)
pgrep -uroot apache2– Alien Life Form Jun 28 '17 at 01:22pgrep -uroot httpdon CentOS... ignore previous me. – Alien Life Form Feb 23 '18 at 04:23