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 ...
Cory_50405
Noctilucent
Apr 16, 2014Try this:
when HTTP_REQUEST {
SSL::disable
if { [string tolower [HTTP::host]] equals "abc.com" } {
if { [string tolower[HTTP::uri]] contains "cvapweb" } {
pool abc_9090
}
else {
pool abc_8080
}
}
elseif { [string tolower [HTTP::host]] equals "xyz.com" } {
if { [string tolower [HTTP::uri]] contains "cvapweb" } {
pool xyz_9090
}
else {
pool xyz_9090
}
}
}
mayur_m_150368
Nimbostratus
Apr 18, 2014if i splits this irule into parts like if i use only
-----------------------------------------------------------------------------------------------
when HTTP_REQUEST {
SSL::disable
if { [string tolower[HTTP::uri]] contains "cvapweb" } {
pool abc_9090
}
else {
pool abc_8080
}
}
}
it works.
-------------------------------------------------------------------------------
but if i use below one,
when HTTP_REQUEST {
SSL::disable
if { [string tolower [HTTP::host]] equals "abc.com" } {
if { [string tolower[HTTP::uri]] contains "cvapweb" } {
pool abc_9090
}
else {
pool abc_8080
}
}
}
it is not working... it only shows till security page beyond that it is not going. why is so??
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