Forum Discussion
mayur_m_150368
Nimbostratus
Apr 16, 2014How we can publish multiple applications on same VIP with same port & same irule?
We have recently procured F5 device for Reverse proxy. We are now migrating ISA applications but while migration we are facing issue.
I need help to create irule as per our requirement.
If we have ...
Kevin_Stewart
Employee
Apr 18, 2014Try this:
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"abc.com" {
if { [string tolower [HTTP::uri]] contains "cvapweb" } {
pool abc_9090
} else {
pool abc_8080
}
}
"xyz.com" {
if { [string tolower [HTTP::uri]] contains "cvapweb" } {
pool xyz_9090
} else {
pool xyz_8080
}
}
}
}
Not sure why you're using SSL::disable in your original iRule. Using it in an HTTP_REQUEST (OSI layer 7) suggests that you want to disable server side SSL, but if none of the downstream pools are SSL, and you don't have an SSL profile applied to the VIP, then you don't need this command.
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