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 do you mean by documentroot of apache?

0 Answers  


How to use apache web server linux?

0 Answers  


If you specify both deny from all and allow from all, what will be the default action of Apache?

4 Answers  


On which version of apache you have worked?

0 Answers  


What tool do you use for log analysis?

0 Answers  






Hi, I'm using tomcat 5, database is MySql, project is based on mvc architecure. My tomcat shuts down abruptly creating a error file in Tomcat5.0 folder named as hs_err_pid1268.txt.. plz help me

1 Answers  


Can I serve content out of a directory other than the documentroot directory?

0 Answers  


Does Apache act as a Proxy server?

3 Answers   Syscom,


What are feature of apache?

0 Answers  


What is the default apache directory?

0 Answers  


What is ServerType directive?

1 Answers  


How to ensure web server is getting started after server reboot?

0 Answers  


Categories