Hi Sandy,
Can you try this version with additional logging? The output is written to /var/log/ltm by default. Also, if you have the pool added to the VIP, you can remove the pool statement from the iRule.
when HTTP_REQUEST {
log local0. "[IP::client_addr]:[TCP::client_port]: New HTTP request to [HTTP::host], [HTTP::uri] with Referer [HTTP::header value Referer]"
if { ([string tolower [HTTP::path]] eq "/abc/private/xyz.do") and ([HTTP::header value Referer] eq "") } {
log local0. "[IP::client_addr]:[TCP::client_port]: Matched URI with no Referer. Redirecting client."
HTTP::redirect "https://test.com/groupabc/aarp.jsp"
} else {
log local0. "[IP::client_addr]:[TCP::client_port]: Request okay. Using default pool."
}
}
Aaron