Web Hosting Talk







View Full Version : How can I detect syntax errors in config files?


nogi
05-28-2003, 01:08 AM
I were told that /usr/sbin/httpsd -t would return

Syntax OK

if it were ok, but it returns 'Command not found'. Is httpsd a deprecated command in linux, and if so is there another one?

Thanks
John

The Prohacker
05-28-2003, 01:21 AM
/usr/local/apache/bin/apachectl configtest

nogi
05-28-2003, 01:26 AM
Thanks alot Prohacker :)

John