Parse/Edit Apache conf files with Ruby?

Posted by Josh on Server Fault See other posts from Server Fault or by Josh
Published on 2010-03-12T19:50:20Z Indexed on 2010/03/12 19:57 UTC
Read the original article Hit count: 316

I need to write some scripts to make changes to Apache conf files, namely to add/update VirtualHosts. I plan on doing this in Ruby. before I write my own, are there any scripts/rubygems which allow Ruby to parse/modify Apache conf files, specifically <VirtualHost> directives?

© Server Fault or respective owner

Related posts about ruby

Related posts about configuration-management