Forum Discussion

k_pawan's avatar
k_pawan
Icon for Nimbostratus rankNimbostratus
Mar 30, 2021

Redirection with parameter in URL

Hello I am new To F5 irules.

 

I'm trying to redirect https://website1.com/number:1234 to https://website2.com/number:1234

 

such that whatever value of the number, it will be carried over after redirection.

 

Could you please help me with irule template here.

 

It will be like redirecting https://website1.com/number:5555 should go to https://website2.com/number:5555 and so on. Number will get change every time when user try to access URL.

1 Reply

  • Better pass the F5 trainning for HTTP before doing such things:

     

    https://www.f5.com/services/resources/white-papers/fundamentals-of-http

     

     

    Then you can check this for how parametars look:

     

    https://en.ryte.com/wiki/GET_Parameter