httpd -V獲得相似以下結果:
-D HTTPD_ROOT="/etc/httpd"spa
-D SERVER_CONFIG_FILE="conf/httpd.conf"class
而後,兩個拼起來就是你要找的路徑