Forum Discussion

Gill_32697's avatar
Gill_32697
Icon for Nimbostratus rankNimbostratus
Nov 16, 2012

help with irule else test-pool not getting hits

When typing only https://test.swbc.com in my browser I am not hitting my last resort pool Test-SWBC-Migration2

 

I do get out current home page but not the new website on pool Test-SWBC-Migration2. Please check why my else pool Test-SWBC-Migration2 my not be showing.

 

Also, how can I add a logging statements to the irule that will show me the pool im hitting and the command to view in the ssh shell.

 

----------------------------------------

 

when HTTP_REQUEST {

 

if { ([string tolower [HTTP::host]]) contains "test.swbc.com" } {

 

switch -glob -- [string tolower [HTTP::uri]] {

 

"*paymentprocessorv3*" -

 

"*paymentprocessorakc*"

 

{

 

pool IIS_ECM.SWBC.com_pool

 

}

 

"/holtcat" {

 

HTTP::redirect "https://focusnet.swbc.com/fnFProvider/fnFProvider.asp? app=HCEnrollmentTool&wanted=BECONFIRM&BenefitYear=2011&BenefitType=N"

 

}

 

"*/akcelerant*" -

 

"*/idsakcelerant*" -

 

"*/idsakcelerantmtg*" -

 

"*/lmakcelerant*" {

 

pool IIS_SWBC.com_pool

 

}

 

else {

 

pool Test-SWBC-Migration2

 

}

 

}

 

}

 

}