title: Display virtual hosts from a php script?
body: <p>I am looking to be able to build a script that will display all the virtual hosts running under my Apache (Ubuntu) development machine. </p>
  
  <p>To date, I've not found any examples or anything close to what I want, which simply is:</p>
  
  <p>"Display all virtual hosts running on this machine". (ServerName, Alias, etc). </p>
  
  <p>I was thinking I might be able to read /etc/apache2/sites-available folder which houses all the conf files for the vhosts, but before going down that road, I thought I'd ask here first.</p>