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.

I have inherited a LAMP server with a lot of customization.

I want to enable mod_status in apache to get some monitoring of apache started. Problem is, with mod_status enabled in the httpd.conf, I am not allowed to travel to the http://"serverIP"/server-status URL because apache is redirecting me to a 'landing page'.

If I type any invalid URL for the server, it redirects to this page, all error document pages have been hashed out from the httpd.conf.

Any assistance to where this has may have been configured or if there is a way to override it so I can get to the url http://"serverIP"/server-status ?

share|improve this question
add comment

1 Answer

Did you set up a <Location /server-status> inside your <VirtualHost> with the SetHandler server-status directive set?

share|improve this answer
    
yes, it does not make a difference. –  Ivan Moldavi Nov 17 '11 at 5:22
1  
@IvanMoldavi Are you sure that it's that <VirtualHost> that's serving the request? Or can you provide your Apache configuration? –  Shane Madden Nov 17 '11 at 6:06
    
Apparently it's the base config / outside of VirtualHost. See your default virtual host and/or rewrite configuration. The default virtual host should also have the /server-status entry. –  AndreasM Nov 17 '11 at 7:45
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.