How do you check for the httpd.conf consistency and any
errors in it?
Answers were Sorted based on User's Feedback
Answer / abhay
apachectl configtest or /etc/init.d/httpd configtest
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / sunil
Hi,
You can check syntax for httpd configuration file by using
following command.
httpd -S
thanks
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / kiran
httpd -e DEBUG also works as the commands above. Good to use apachectl configtest would be good to use.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is struct?
What language is apache written in?
How does apache license work?
How to disable trace http request?
Who is initial author of apache?
How do I stop apache from running?
What is apachectl?
Can apache run on windows?
Can apache and tomcat run together?
What is the difference between httpd and apache?
What type of ip is needed for apache web servers to host a website?
How to ensure apache process run with non-root/nobody user?