Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a command to show current (in ssh) loaded setting for those directive?

Apache2, debian6


share|improve this question
Do you mean other than cat the config file? I guess I don't understand the question. – bahamat Feb 22 '11 at 21:15
@bah: yes. Just to know if apache got em right. Like mysql SHOW VARIABLES '%' – dynamic Feb 22 '11 at 21:28
up vote 1 down vote accepted

I in your apache have (and loaded) mod_info module, try to access http://localhost/server-info page.

share|improve this answer
curl -s http://localhost/server-status | grep requests | perl -wlne'm/dt>(.*)<\/dt/i && print $1'`
share|improve this answer

Your Answer


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.