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 19, 2014At this point I'd recommend some logging:
when HTTP_REQUEST {
log local0. "Incoming host: [HTTP::host]"
log local0. "Incoming URI: [HTTP::uri]"
switch [string tolower [HTTP::host]] {
"abc.com" {
log local0. "Catching abc.com"
if { [string tolower [HTTP::uri]] contains "cvapweb" } {
log local0. "abc.com URI contains cvapweb"
pool abc_9090
} else {
log local0. "abc.com default pool"
pool abc_8080
}
}
"xyz.com" {
log local0. "Catching xyz.com"
if { [string tolower [HTTP::uri]] contains "cvapweb" } {
log local0. "xyz.com URI contains cvapweb"
pool xyz_9090
} else {
log local0. "xyz.com default pool"
pool xyz_8080
}
}
}
}
Tail the LTM log and test again.
tail -f /var/log/ltm
You may be surprised by what you find.
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