Forum Discussion
stupid48
Jul 06, 2020Altocumulus
If I try just doing an if statement for the first block, I still get the same error. It's strange that this used to work before the upgrade to 14.x. It's weird because the second switch is still working correctly even when the first entry is there. It just logs something to /var/log/ltm
when HTTP_REQUEST {
if {[HTTP::uri] equals "/"}{
HTTP::redirect "https://ccbprod.domain.com/ouaf"}
switch [string tolower [HTTP::host]] {
ccbtest.domain.com {
pool ccbqa_pool
}
ccbprod.domain.com {
pool ccbprd_pool
}
default {
log local0. "Unknown site: [HTTP::host]"
}
}
}