Any module to parse httpd.conf?

Jeff McNeil jeff at jmcneil.net
Tue Mar 6 09:22:12 EST 2007


I looked at http://www.python.org/pypi/httpdrun 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...).

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?

Jeff

On 6 Mar 2007 02:03:33 -0800, Gerard Flanagan <grflanagan at yahoo.co.uk>
wrote:
>
> Hello,
>
> Does anyone know of an existing module to parse httpd.conf files?
>
> Thanks.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070306/80a462a1/attachment.html>


More information about the Python-list mailing list