我正在寻找一个命令来检查 Debian 和 RHEL 发行版上 Apache 服务器中配置文件的有效性。我需要在重新启动之前执行此操作,因此不会有停机时间。
configuration apache2
apache2 ×1
configuration ×1