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

Answers were Sorted based on User's Feedback



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

Answer / josey

apachectl configtest

Is This Answer Correct ?    9 Yes 0 No

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

Answer / d.veera

we can use httpd -t command also.

Is This Answer Correct ?    8 Yes 0 No

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

Answer / shahul

apachectl -t
This also works.

Is This Answer Correct ?    7 Yes 1 No

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

Answer / abhay

apachectl configtest or /etc/init.d/httpd configtest

Is This Answer Correct ?    6 Yes 0 No

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

Answer / md jamiruddin

apachectl configtest

Is This Answer Correct ?    2 Yes 0 No

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

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

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

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 do you check for the httpd.conf consistency and any errors in it?..

Answer / ankit singla

This command

service httpd configtest

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Apache Interview Questions

What is the default port for http and https?

0 Answers  


Is apache a company?

0 Answers  


Your apache web-server is not starting, what steps would you follow to troubleshoot this.

0 Answers  


How to secure your apache web server?

0 Answers  


How to verify httpd.conf file to ensure no configuration syntax error?

0 Answers  






Is apache opensource?

0 Answers  


How do I start apache server on windows?

0 Answers  


Why does Apache send a cookie on every response?

0 Answers  


I am configuring APACHE Server on SOLARIS-10. I am having some problem while configuring the httpd.conf. Can any one help me to find out the root directory of APACHE server. How can I publish my website through it?

0 Answers  


What are "regular expressions"?

0 Answers  


How to configure your very first production web sever?

0 Answers  


How to carry out apache efficiency benchmark?

0 Answers  


Categories