How can I change the protocol, port or hostname of the redirect generated by JBoss Web?
Issue
- How can I change the protocol, port or hostname of the redirect generated by j_security_check in JBoss Web?
- SSL is being terminated at a F5 that sits in front of JBoss. The redirects generated by j_security_check should point back to a https endpoint even though the request is hitting the http connector.
- Is there a way to get the correct HTTP scheme using JBoss EAP 5.1
- We have setup where SSL is being terminated at a F5 load balancer that sits in front of Apache web server which connects with JBoss using mod_proxy. When accessing the application via load balancer it observed that the IP address and port of the JBoss server getting exposed and web browser show security WARNING regarding mixed content in the page.
- send redirect to apache port.
- When I run the application for the first time, I get a 302 error. But when I open another tab and access the application it's works fine.I was using the http configuration
<mod-cluster-config proxy-list="10.10.10.10:6666" advertise="false" connector="http">, I was able to solve it by using
Header edit Location ^https://myapp.example.comin Apache httpd configuration.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4.x
- 5.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
