Any python libs for parsing apache config files?

前端 未结 6 2100
离开以前
离开以前 2020-12-29 11:40

Any python libs for parsing apache config files or if not python anyone aware of such thing in other languages (perl, php, java, c#)? As i\'ll be able to rewrite them in pyt

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-29 12:08

    Red Hat's Emerging Technologies group has Augeas (written in C, but with Python bindings available), a generic system configuration tool with "lenses" for reading and writing several different configuration file formats. I would consider investigating the availability of a lens for Apache.

提交回复
热议问题