Forum Discussion
Need to add the port number into the back end http request
I have a client that has an Oracle application server running on 10g r2 (10.1.2) an I am migrating a Zeus config to LTM. The server listens on port 7777. I put in a simple HTTP redirect to HTTPS that works fine, but Zeus has request traffic script that specifies:
http.setHeader("Host", http.getHostHeader() . ":7777");
I assume that this inserts ":7777" at the end of the host header for the back-end requests. How would I accomplish this on LTM 11.1 HF3
3 Replies
- JRahm
Admin
assuming that request arrives to BIG-IP on port 443:
when HTTP_REQUEST { HTTP::header replace Host "[HTTP::host]:7777" } - RonCameron_1107
Nimbostratus
That was it! Thanks Jason.
- JRahm
Admin
glad to hear it!
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