什么是好的库来操纵Apache2的配置文件? [英] What's a good library to manipulate Apache2 config files?
本文介绍了什么是好的库来操纵Apache2的配置文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想创建一个脚本来直接操作的Apache2配置,读,写它的属性(如添加新的虚拟主机,改变已经存在的一个设置)。
I'd like to create a script to manipulate Apache2 configuration directly, reading and writing its properties (like adding a new VirtualHost, changing settings of one that already exists).
是否有任何库在那里,为Perl,Python或Java,自动化的任务吗?
Are there any libs out there, for Perl, Python or Java that automates that task?
推荐答案
在Perl中,你有至少2个模块为:
In Perl, you've got at least 2 modules for that:
这篇关于什么是好的库来操纵Apache2的配置文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文