Tuesday, November 11, 2008

typos or errors in apache conf file

While editing the conf files, I always used to restart/reload the config, then go to error log to see the line number with typo/error; I found that there is a simpler way
apachectl -t
(can also take -f file-name)

No comments: