How can I detect syntax errors in my config files?

Do this at the command line:

           
   [root@ntbox conf]# /usr/sbin/httpsd -t
         
   Syntax OK