任何用于解析apache配置文件的python库?

dan*_*els 12 python parsing apache-config

用于解析apache配置文件的任何python库,或者如果没有python任何人在其他语言中知道这样的东西(perl,php,java,c#)?因为我将能够在python中重写它们.

小智 7

我在这里找到了一个有趣的Apache Config解析器:http://www.poldylicious.de/node/25

提到的Apache Config Parser没有记录,但确实有效.

  • 链接已损坏。 (3认同)

Mic*_*ach 1

据我所知,不存在 Python 库,但这里有一个 Perl 库: http: //packages.debian.org/sid/libapache-configfile-perl

Package: libapache-configfile-perl
Priority: optional
Section: interpreters
Installed-Size: 124
Maintainer: Michael Alan Dorman
Version: 1.18-1
Depends: perl (>= 5.6.0-16)
Description: Parse an Apache style httpd.conf configuration file

This module parses the Apache httpd.conf, or any
compatible config file, and provides methods for
you to access the values from the config file.
Run Code Online (Sandbox Code Playgroud)

如果您确实用 Python 重写了它,请更新您的帖子以在 PyPI 上提及您的包的名称!:)