Apache server-status when running as proxy server

Posted by f-z-N on Server Fault See other posts from Server Fault or by f-z-N
Published on 2014-06-09T13:36:32Z Indexed on 2014/06/09 15:29 UTC
Read the original article Hit count: 337

Filed under:
|
|

We are running apache as a proxy server and have tomcat behind apache. We are using server_status module but when we try to access server_status as in https://host.com/server-status it redirects to tomcat and we get 404 error. I am quite new to this, tried going through apache docs but unable to figure out the solution. Fyi.We have ssl enabled

Current ssl.conf settings:

  ProxyRequests     Off
  ProxyPreserveHost On

  <Proxy http://localhost:8081/*>
      Order deny,allow
      Allow from all
  </Proxy>

  ProxyPass         /  http://localhost:8081/
  ProxyPassReverse  /  http://localhost:8081/
  ProxyPassReverse   /  http://myhost:8081/


    <Location /server-status>
            SetHandler server-status
            Order deny,allow
            Deny from all
            Allow from 10.90
    </Location>

© Server Fault or respective owner

Related posts about proxy

Related posts about apache-1.x