Forum Discussion

Julio_Navarro's avatar
Julio_Navarro
Icon for Cirrostratus rankCirrostratus
Dec 30, 2019

Keeping the original protocol in a policy

Hello,

I am configuring a policy which will redirect to another URL keeping the original protocol (http or https) and URI.

The URI is OK

tcl:https://newURL.com[HTTP::uri]

How I can do the protocol?

If this is not possible, I guess I can have two rules/actions: one for http, one for https.

Please comment

Thank you

Julio

1 Reply

  • If your virtual listener is listening on both 443 and 80, then you will only need one rule in the local traffic policy. Your matching is based on the URI. Hence, the protocol is not relevant. As when the redirect happens, all original attributes of the requests are maintained and the URI is changed.

     

    If you have separate virtual servers, then you will need to apply the policy to each.