Forum Discussion

Nunes_344152's avatar
Nunes_344152
Icon for Nimbostratus rankNimbostratus
Jun 07, 2018

Policy URL redirect

Hello everyone,

 

Could anyone give me a hint on how to create a policy for when the user type eg he redirect to the URL .

 

I have tried in several ways possives and in the browser I see the redirection happening but the page always comes with the loop error ERR_TOO_MANY_REDIRECTS.

 

I did another test by changing the hostname to another one, and that way it works.

 

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    Can you share the content of the policy:

     tmsh list ltm policy name_of_policy

    ?

  • If you get "to many redirects", my guess is you don't have a uri-condition in your redirect rule. The rule should be something like:

     

    IF http host equals "; and http uri path equals "/" --> redirect to ";

     

    Then another rule below that forwards the traffic to the correct pool.