Forum Discussion
Dheer_282482
Nimbostratus
Aug 02, 2016Smae VIP with SSL for multiple application, URL based forwarding
Hello mates, I need help on below scenario working on https. /
example :- if url https://hello.abc.com will be go to Pool :- hello.abc.com
if url https://hi.abc.com will go t...
ekaleido
Cirrus
Aug 04, 2016Create a string datagroup named hostpools like the following:
when HTTP_REQUEST {
set hostpool [class match -value [string tolower [HTTP::host]] equals hostpools]
if { $hostpool ne "" } {
pool $hostpool
} else {
discard
}
}
- Dheer_282482Aug 04, 2016
Nimbostratus
HI Ekaleido,
Not able to create irule based on your suggestion
can you help me for mapping example :- if url https://hello.abc.com will be go to Pool :- hello.abc.com
if url https://hi.abc.com will go to Pool :- hi.abc.com
where VIP is same with https port for https://hello.abc.com & https://hi.abc.com - ekaleidoAug 04, 2016
Cirrus
My iRule does exactly what you're asking for, it just uses a data group to validate that the URL is valid and should be delivered, then it delivers it to a pool sharing the name of the host.
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
