Meta Information within Apache config files

Posted by purpletonic on Server Fault See other posts from Server Fault or by purpletonic
Published on 2010-04-07T13:09:53Z Indexed on 2010/04/07 13:13 UTC
Read the original article Hit count: 687

I have a number of VirtualHosts config files controlling sites served on Ubuntu server using Apache. I'm writing a ruby script to parse these files, and then display information about the site being hosted.

One of the things I'd like to do is display a user friendly name for each site for easier identification, rather than relying on ServerName, or ServerAlias, to determine the site name. Does anyone know of an Apache configuration directive that exists for this purpose, or for displaying other related meta information about a config file, or will I have to use comments rather than a directive instead?

Thanks!

© Server Fault or respective owner

Related posts about apache

Related posts about apache2