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_150368Apr 18, 2014
Nimbostratus
Hi, I can able to save this irule in F5, but when i can try to access the URL's through F5 its not working, it only goes till https (security page) but cant go beyond that. It menas it cant pass through irule. I can able to see hits on virtual servers but it not comes in pools. The same application is running through microsoft ISA server. - mayur_m_150368Apr 18, 2014
Nimbostratus
if 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?? - Cory_50405Apr 18, 2014
Noctilucent
Only reason I could see is that it wouldn't be matching the host condition if nothing is happening. Is the server sending a redirect perhaps?
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