Forum Discussion
need help to combine new irule with original
Your request is not very clear to me. Should the new code only be executed for host www.swbc.com? That is what I have assumed below.
I don't know what you are asking when you mention "/payment????"
The lines I have commented out are superfluous, because the first two cases will always pick them up.
when HTTP_REQUEST {
if { ([string tolower [HTTP::host]]) equals "www.swbc.com" {
switch -glob -- [string tolower [HTTP::uri]] {
"*paymentprocessorv3*" -
"*paymentprocessorakc*"
"/paymentprocessorv3/creditcard.asmx" -
"/paymentprocessorv3/creditcard.asmx?wsdl" -
"/paymentprocessorv3/ach.asmx" -
"/paymentprocessorv3/ach.asmx?wsdl" -
"/paymentprocessorakc/ach.asmx" -
"/paymentprocessorakc/ach.asmx?wsdl" -
"/paymentprocessorakc/creditcard.asmx" -
"/paymentprocessorakc/creditcard.asmx?wsdl"
{
pool IIS_ECM.SWBC.com_pool
}
"/holtcat" {
HTTP::redirect https://focusnet.swbc.com/fnFProvid...efitType=N
}
"/akcelerant/" -
"/idsakcelerant/" -
"/idsakcelerantmtg/" -
"/lmakcelerant/" {
pool Test-SWBC-Migration1
}
else {
pool IIS_SWBC.com_pool
}
}
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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