我在Ubuntu上运行Apache2,configuration分布在多个文件中。 是否有命令将所有正在使用的configuration数据导出到单个文件?
我想将其与另一个服务器configuration以并排的方式进行比较。
是。 启用mod_info ,在http://your.host.example.com/server-info浏览到您的服务器,并保存该文件。
Apache模块mod_info
说明:提供服务器configuration的全面概述
这可以非常方便地比较Web服务器集群中两个或更多Apache节点的运行configuration。