Rosieodonell_16
Jun 01, 2015Cirrus
Need help with quick redirect irule
I am trying to get the redirect for the outlook iapp to work a little better. Here is the redirect:
when HTTP_REQUEST {
if { ([HTTP::uri] == "/") } {
HTTP::redirect https://[HTTP::host]/owa/
}
}
I need it to do this but ignore the rest of the uri. so if a user enters lets say = https://webmail.company.com/owa/cookie_example, i want it to redirect to https://webmail.company.com/owa/ (not including the cookie_example).
so basically i want it to look for "/" or "owa" and redirect it to only https://webmail.company.com/owa/. ignoring all other bits of uri.