How to send Apache httpd IP to the backends instead of the remote client IP using mod_jk?
Issue
The configuration is restricting IP addresses for incoming connections in JBoss with org.apache.catalina.valves.RemoteAddrValve
:
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="10.10.10.10" ></Valve>
Where the IP 10.10.10.10 is the Apache httpd IP, but it is returning 403 forbidden. It should allow only connections from Apache httpd.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- Red Hat JBoss Web Server (EWS) 3.x
- mod_jk
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.