Forum Discussion
Bob_May_78337
Nimbostratus
Feb 12, 2014Host_Header IRule for F5 LTM
I am trying to create an IRule to read an incoming host_header and based on the host_header, forward this request to another VirtualServer. I have seen examples to forward to server pools, but not to...
Kevin_Stewart
Employee
Feb 13, 2014It's totally possible.
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "www.dummy.com" } {
virtual dummy_vs
}
}
where "dummy_vs" might be the name of the dummy virtual server. Best part, because you're using the virtual command, the dummy VIP's destination address doesn't have to be routable.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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