Linux: Check httpd.conf file before restarting server

Code

[code]
/usr/sbin/apachectl configtest
[/code]

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