RemoteAddrValve and RemoteHostValve do not work with AJP

Solution Verified - Updated -

Issue

  • We want to prevent any dircect access to JBoss. All requests should come through our httpd AJP proxy. We've tried RemoteAddrValve and RemoteHostValve, but they block all requests through the proxy still even though it should allow requests from the httpd ip.

Environment

  • JBoss Enterprise Application Platform (EAP) 6.x
    • JBossWeb
  • Apache httpd
    • mod_jk
    • mod_proxy_ajp
    • mod_cluster

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In