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 |
How to ensure web server is getting started after server reboot?
What we can do to find out how people are reaching your site?
What is apache software used for?
How to know if web server running?
What’s the mod_perl module?
Which module is required to have redirection possible?
What is the difference between apache and apache tomcat?
What is apache timeout?
If you have only one ip address, but you want to host two web sites on your server. What will you do?
What is offical website of apache?
Can I serve content out of a directory other than the documentroot directory?
How can apache act a proxy server?