Forum Discussion
JimB_43720
Apr 14, 2011Nimbostratus
Change destination port based on hostheader
I wondered if I could use an irule to change the destination port of a standard http request based purely on the hostheader?
The current setup is as follows:
We are using BIG IP ...
James_Quinby_46
Apr 14, 2011Historic F5 Account
Jim - all you need to do is create the virtual, the two pools and apply the iRule. It's not necessary for a VS to have a pool assigned. One of the mainstay, canonical rules is an HTTP to HTTPS redirect. It's applied to a VS listening on port 80, issues a 302 redirect to the same host on port 443, and has no additional resources applied beyond the iRule.
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