REDIRECT IRULE REQUIRED PLEASE HELP

HI

I am looking for an irule and below is my requirement

https://mail.test.com/eneterprisevault/abcsd…

it should redirect to

…

Please help to achieve this

‘abc’ isn’t a valid domain name bug assuming that’s just a typo;

when HTTP_REQUEST {
 if { (([HTTP::host] equals "mail.test.com") && ([HTTP::uri] starts_with "/enterprisevault/abcsd")) } {
 HTTP::redirect "https://abc[HTTP::uri]"
 }
}

Note && should be &&

tHANK U ALL ITS DONE

tHANK U ALL ITS DONE

Good stuff, you’re welcome.