Mobile app version of vmapp.org
Login or Join
Murray432

: Apache redircting when it shouldnt 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

@Murray432

Posted in: #Apache #Linux #Redirects

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 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 serverIP"/server-status ?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray432

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sent6035632

If there are Rewrite rules in your .htaccess that cause this, then you should be able to add a condition to ignore this particular URL. See the manual for some more info (look for RewriteCond).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme