Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Im looking for a command that checks the validity of the config files in apache server (both Debian and RHEL distros - need to do it prior to restart, so there will be no downtime). I cant quite remember what it is and man pages / quick googling didnt have an answer. Thanks.

share|improve this question

migrated from stackoverflow.com Feb 7 '11 at 13:30

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

up vote 8 down vote accepted

Check: http://httpd.apache.org/docs/2.2/programs/apachectl.html

apachectl configtest
share|improve this answer
    
Thank you, thats it. I couldnt remember what to even look for. –  Sigtran Feb 7 '11 at 10:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.