Forum Discussion

Srini_Vaiyapuri's avatar
Srini_Vaiyapuri
Icon for Nimbostratus rankNimbostratus
Mar 01, 2016

need irule help for owa (outlook webmail app) redirect

When I hit pool member url ( works fine, when I hit VIP url ( works fine. Now I am trying to create an Irule and came up with below one to make VIP url (https:11.x.x.x) work but its not working.

 

Any help appreciated.

 

Irule:

 

when HTTP_REQUEST { if {([HTTPs::uri] == "/") } { HTTPs::uri /owa } }

 

1 Reply

  • Hi Srini,

    use the iRule below...

    when HTTP_REQUEST {
        if { [HTTP::uri] equals "/" } then { 
            HTTP::redirect "/owa/"
        }
    }
    

    Note: Keep in mind that you have to apply a Client/Server SSL Profile to be able to inspect the HTTPS protocol and apply a HTTP Profile to parse the HTTP request/response.

    Cheers, Kai