Forum Discussion
how to change https header response using irule
Hi Zenato. You probably don't need an iRule for this. You didn't specify what kind of HTTP server you are using, but it is important to create/add a Virtual Host definition on each server in the pool. The big-ip Virtual Server represents 2 or more physical servers. So to keep the Hostname portion of the URL from changing, OHS and Weblogic allow you to add a Virtual Hostname to each server. Here are some links to get you started, your Web server Admin should know how to do this stuff.
http://docs.oracle.com/cd/E12839_01/core.1111/e12035/webtier_im.htm
http://docs.oracle.com/cd/E14571_01/apirefs.1111/e13952/taskhelp/virtual_hosts/VirtualHosts.html
If that does not work ( because your HTTP servers are old ), then you could try a big-ip STREAM profile, that will re-write the hostnames on the fly. You can check out the stream profile here:
https://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm_concepts_11_0_0/ltm_other_profiles.html1206878
There is an example of using the Stream Profile with WLS in this deployment guide:
http://www.f5.com/pdf/deployment-guides/iapp-weblogic-dg.pdf
If none of that works, then you will need to write an iRule, and search Devcentral Codeshare for an example of Host re-write.
Good Luck,
Chris.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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