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.

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

Apache2, debian6

Thanks

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
add comment

2 Answers

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