Forum Discussion
Layne_53816
Nimbostratus
Aug 23, 2010maintaining the request URL
We're moving from an Apache Weblogic plugin SSL -Weblogic, to a BIG IP SSL - Weblogic configuration, and have a webstart application that uses the request.getRequestURL() method to populate the codebase for the jnlp response. The original URL was passed through just fine with the Apache Weblogic plugin, but is translated through the BIG IP. What is the best practice for populating the codebase for a jnlp response? Do I need to write an iRule to send through the original URL?
- Chris_Miller
Altostratus
You're seeing the URL changed by the F5 box? How's it being altered? - Layne_53816
Nimbostratus
the request is https://my.domain.com/myapp, and the application is getting http://my.domain.com:80/myapp. The Weblogic server is actually running on port 8082, so I'm not sure where the port 80 is coming from. - Chris_Miller
Altostratus
Posted By Layne on 08/23/2010 12:11 PM - Layne_53816
Nimbostratus
There is no redirect coming from the app server. I wrote a simple jsp in the deployed app that just shows the contents of the request.getRequestURL() method, and http://my.domain.com:80/myapp is what I'm getting from F5. - L4L7_53191
Nimbostratus
The BigIP won't change any of this unless configured to do so. Have you done a double check on the jnlp file? It seems possible that there's a definition somewhere that is hard coding it. - Layne_53816
Nimbostratus
The jnlp is using the request.getRequestURL() method to determine the codepage. I need to somehow configure big ip to send the original URL (https://my.domain.com:443/myapp is what I expect, and that would be the appropriate codepage location for the jnlp response. the BIG IP is translating the request header to http://my.domain.com:80/myapp, which is causing the codepage to be wrong in the jnlp response. - Chris_Miller
Altostratus
Are you terminating SSL on your F5 by any chance? - Chris_Miller
Altostratus
http://support.f5.com/kb/en-us/solutions/public/4000/400/sol4443.html is the link on how to do the header insertion. - Layne_53816
Nimbostratus
F5 is terminating SSL. Thanks for the link, Chris. Having our admin set that up now. I'll let you know. - L4L7_53191
Nimbostratus
I agree Chris. The LTM won't change the headers at all, unless configured to do so. Tomcat has a similar issue that pops up, and there's a server.xml stanza called "ProxyPort" that will fix up issues like this in many cases. Hopefully something easy like that will help.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects