Linux: Check httpd.conf file before restarting server


/usr/sbin/apachectl configtest

If you have made changes to the httpd.conf file do not restart your server right away but rather run the configtest command that will provide valuable information on what errors there may be in your configuration of any.

← Back to home