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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content