Forum Discussion

Black_Shamrock_'s avatar
Black_Shamrock_
Icon for Nimbostratus rankNimbostratus
Jun 02, 2017

HTTP re-direct/append using HTTP policy

HTTP re-direct/append URI

 

Our business has a load-balanced service in which the user types "xi" in the browser address bar. "xi" is set to CNAME to the VIP DNS.

 

I want to configure an HTTP redirect that converts the address the user types ("xi" which appears as "xi/") to ";.

 

Can I use a HTTP redirect policy to accomplish this?

 

  • You should be able to do it using HTTP policy.

    iRule would be something like this:

    when HTTP_REQUEST {
    HTTP::respond 301 Location "http://[HTTP::host]r4/BOE/BI"
    }