<br><span class="gmail_quote">On 6 Mar 2007 02:03:33 -0800, <b class="gmail_sendername">Gerard Flanagan</b> <<a href="mailto:grflanagan@yahoo.co.uk">grflanagan@yahoo.co.uk</a>> </span>>><span class="gmail_quote">wrote:</span> Hello,<br>>><br>>>Does anyone know of an existing module to parse httpd.conf files?<br>>><br>>>Thanks.<br><br><b><i>Jeff McNeil <jeff@jmcneil.net></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">> I looked at <a href="http://www.python.org/pypi/httpdrun">http://www.python.org/pypi/httpdrun</a> not so long ago, it > > > might be able to do what you want. I think it was a bit hard to read.  > > Remember that with Apache you (may) also need to worry about > > > configuration merges and whatnot (<Directory>, <VirtualHost>, .htaccess, and so on...).  <br><br>> What specifically do you want to
 do? There are a lot of ways to do a > lot of things with Apache.  If you're looking to create virtual hosts, take a look at mod_vhost_alias or some RewriteRule magic.  You're > configuration could be pretty simplified and reduced to updating a gdbm > file or creating a directory? <br><br>Jeff<br><br><div><span class="gmail_quote"></span><br></div> </blockquote>Thanks Jeff,<br><br>At the minute I'm creating a httpd.conf from a template, but at some point the procedure will be completely automated and I may need to merge a generated httpd.conf with an existing one. (This is IHS but I'm told it's identical to Apache as far as httpd.conf is concerned). I don't know where gdbm fits in but I'll look into it.<br><br>Thanks for the reply.<br><br>Gerard<br><p>
                <hr size=1> 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the <a href="http://uk.rd.yahoo.com/mail/uk/taglines/default/championships/games/*http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk/">Yahoo! Mail Championships</a>. Plus: play games and win prizes.