Geoff_34657
Mar 28, 2019Nimbostratus
Irule for pool direction
I have an irule that works properly in Edge and in Chrome but, fails in IE. I am not sure why though. My logs say it's the same request but, IE gives a 404 page cannot be found error.
when HTTP_REQUEST {
set my_uri [string tolower [HTTP::uri]]
set my_host [string tolower [HTTP::host]]
if { $my_uri contains "/core/" } {
pool Enterprise_Search_POC.11040
log local0. "Directing core port for CORE: $my_host $my_uri "
} if { $my_uri contains "/api/" } {
pool Enterprise_Search_POC.11040
log local0. "Directing core port for API : $my_host $my_uri "
} }