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 |
Is nginx better than apache?
What is htpasswd?
How do I check apache version?
What is apache tomcat used for?
What is systemctl start?
On a fresh install, why does Apache have three config files - srm.conf, access.conf and httpd.conf?
What does apachectl graceful do?
How to manage apache logs?
How does apache tomcat works?
What is loadmodule in apache?
What are the various types of virtual hosts in apache?
Do I need programming skills to install apache in my system?