Hello, as I am developing a new parser for parsing apache
configuration files, I thought I would post here to find out if
there's any other project/user/contributor that could be interested in
Currently the parser handles most common cases, but it's not in anyway
complete nor shuold be considered stable.
It's 100% Python, and handles the parsed files using an own internal
xml rappresentation (we rely on python-lxml for that).
I posted a little tutorial at
http://www.stefanoforenza.com/a-new-parser-for-rapache/ , though i am
not sure it would give a clear idea about what the api really looks
It's meant to be used this way:
>>> p = Parser()
>>> p.load( 'tests/datafiles/errordocuments.conf')
>>> for v in p.virtualhost: v.errordocument.search().value = '404 /error-'+v.servername.value+'.html'
>>> for v in p.virtualhost: print v.errordocument.search().value
If someone is interested just let me know.
ubuntu-server mailing list
More info: https://wiki.ubuntu.com/ServerTeam