Forum Discussion
Anesh
May 29, 2017Cirrostratus
try below , also tail -f /var/log/ltm when sending request to vip
when HTTP_REQUEST {
if { (([HTTP::host] equals "abc.com") or ([HTTP::host] equals "www.abc.com")) } {
log local0. "host match"
if { [HTTP::uri] equals "/" } {
log local0. "uri match"
HTTP::redirect "https://[LB::server addr]:2001/etc/del"
}
}
}