【发布时间】:2015-01-25 00:06:57
【问题描述】:
我试图弄清楚 httpd 设置的完整配置是什么。
所有的配置文件都分散在不同的文件中(/etc/httpd/conf.d、httpd.conf、各种mod configs)
有没有办法列出最终的 httpd 配置?
像单个文件中的整个运行设置配置一样吗?
【问题讨论】:
-
apachectl -S用于运行配置,apachectl -M用于显示加载的模块 -
除了
apachectl -S没有给您“完整的完整配置”或“单个文件中的整个运行设置配置”。 -
相关:stackoverflow.com/questions/27152943superuser.com/questions/922869unix.stackexchange.com/questions/129026serverfault.com/questions/425894serverfault.com/questions/696164serverfault.com/questions/696164serverfault.com/questions/500329serverfault.com/questions/489018serverfault.com/questions/42539httpd.apache.org/docs/current/mod/mod_info.html@987654333
-
Stack Overflow 是一个编程和开发问题的网站。这个问题似乎离题了,因为它与编程或开发无关。请参阅帮助中心的What topics can I ask about here。也许Web Applications Stack Exchange、Webmaster Stack Exchange 或Unix & Linux Stack Exchange 会是一个更好的提问地点。
-
@imme 我觉得你的第一个“相关”链接就是这个问题很有趣。我也觉得很有趣,你在你引用的所有链接上复制/粘贴了相同的评论。有趣:)
标签: apache centos apache2 webserver server