Forum Discussion

bearkuma_332589's avatar
bearkuma_332589
Icon for Nimbostratus rankNimbostratus
Sep 05, 2017

irules for http redirect when url removed still redirect

Guys hi,

 

I'm newbie here ,now i have a http redirect irule .when the http request hit "; or "; ,it redirect to https://www.test.com or https://www.test1.com . but now the issus is when i remove from the irules, it still jump to https://www.test.com when you access http://www.test.com . i feel confused about why the irule is still working for the url which is already removed . thanks all

 

2 Replies

  • Hello Bearkuma,

     

    It is maybe due to the fact that you are using the same connection.

     

    F5 system keeps in memory the old irule for existing connections... To execute the new irule version you will need to initiate a new connection.

     

    Close you browser, open a "private browsing" and try again it should not redirect.

     

    Waiting for you feedback

     

    Regards

     

  • Hi bearkuma,

     

    this could be a connection related issue (as JTI already pointed out) or it could be a caching related issue if you've previously used a HTTP-301-Redirect (Permanent Redirect) or if HSTS (Permanent HTTP-to-HTTPS Redirect) is involved. So flush the browser cache and try again...

     

    Cheers, Kai