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 are the web servers you’ve worked on along with apache?

0 Answers  


Does amazon use apache?

0 Answers  


How does apache server work?

0 Answers  


What is apache prefork?

0 Answers  


Is apache a company?

0 Answers  


What is apache http server used for?

0 Answers  


How to secure your apache web server?

0 Answers  


What is the difference between systemd and upstart?

0 Answers  


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

8 Answers  


Where is apache installed on windows?

0 Answers  


Is nginx better than apache?

0 Answers  


What is virtual host?

0 Answers  


Categories