關閉      標題:檢查 httpd 設定檔是否正確
內容:

1️⃣ 最標準的方法(推薦)

用 Apache 語法檢查

httpd -t

或在很多 Linux 系統:

apachectl -t

如果設定正確會看到:

Syntax OK