可视化 Diff 工具
对比配置文件 左右对比 Diff
贴上你的 config,看看和原始版本有哪些变化。
Apache HTTP Server - /etc/apache2/conf.d/info.conf
Alpine Linux v3.21
默认配置
Alpine Linux v3.21
#
# Get information about the requests being processed by the server
# and the configuration of the server.
#
# Required modules: mod_authz_core, mod_authz_host,
# mod_info (for the server-info handler),
# mod_status (for the server-status handler)
<IfModule status_module>
#
# Allow server status reports generated by mod_status,
# with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
<Location /server-status>
SetHandler server-status
Require host .example.com
Require ip 127
</Location>
#
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
#ExtendedStatus On
</IfModule>
<IfModule info_module>
#
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".example.com" to match your domain to enable.
#
<Location /server-info>
SetHandler server-info
Require host .example.com
Require ip 127
</Location>
</IfModule>
你的配置
已删除
已新增
拖文件到这里,或点击选择
如何使用这个工具
- 1 把你的配置文件粘贴或拖拽到上面的区域
- 2 Diff 会立刻显示,标出你和默认配置的差异
- 3 绿色是你新增的,红色是从默认配置里删掉的
- 4 用切换按钮在左右对比和统一 Diff 视图之间切换