环境:CentOS 6.5 64bit
Apache版本:2.2.15
Apache httpd.conf 配置文件语法验证,方法如下:
[root@localhost conf]# pwd
/etc/httpd/conf
[root@localhost conf]# ll
total 124
-rw-r--r-- 1 root root 35245 Jan 29 10:54 httpd.conf
-rw-r--r-- 1 root root 34419 Jan 18 16:20 httpd.conf.backup
-rw-r--r-- 1 root root 13139 Oct 20 00:44 magic