I'm working on a big web application which uses Apache 2.2 with a complicated configuration of virtual hosts that are defined in many distributed vhost.conf files which are then included into httpd.conf.
Is there any simple and quick way of listing out all of the various virtual host configurations in one place?
Running httpd -S will show you the defined VirtualHosts.
You can get a listing of all active virtual hosts along with what port and name they run on and what line of what config file they can be found on by using the status operator on the apache init scripts:
If your distro doesn't include that option in the init scripts, you can call it manually using