Apache Question:

How to check for the httpd.conf consistency and any
errors in it?

Apache Server Interview Question
Apache Server Interview Question

Answer:

We can check syntax for httpd configuration file by using
following command.

httpd -S


Previous QuestionNext Question
What does apachectl graceful do?How to set up a virtual host in Apache?