Forum Discussion
Gill_32697
Nimbostratus
Nov 15, 2012help combining two irules
The two irules are from two different vips on the same BigIP.
I've tried to combine but i get erros, I can't get the brackets { in the right place with i write the irule.
I would like ...
What_Lies_Bene1
Cirrostratus
Nov 15, 2012Missed some wildcards, now added;
when HTTP_REQUEST {
if { ([string tolower [HTTP::host]]) equals "www.swbc.com" } {
switch -glob [string tolower [HTTP::path]] {
"paymentprocessor*" {
pool IIS_ECM.SWBC.com_pool
return
}
"/akcelerant/*" -
"/idsakcelerant/*" -
"/idsakcelerantmtg/*" -
"/lmakcelerant/*" {
pool Test-SWBC-Migration2
return
}
"/holtcat*" {
HTTP::redirect https://focusnet.swbc.com/fnFProvider/fnFProvider.asp? app=HCEnrollmentTool&wanted=BECONFIRM&BenefitYear=2011&BenefitType=N
return
}
else {
pool IIS_SWBC.com_pool
}
}
}
}
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