For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Irule to match pattern and redirect

Problem this snippet solves:

Hi,

www.example.xyz/sd/test/sd?pid=http://testssd.xyz&target=http://testesd.xyz

I need to write regexp pattern to get value of target=http://testesd.xyz

and redirect to

www.sub.example.xyz/sd/test/disd?dest=http://testesd.xyz

Code :

Hi, I need help with writing irule for this case:

www.example.xyz/sd/test/sd?pid=http://testssd.xyz&target=http://testesd.xyz

I need to write regexp pattern to get value of target=http://testesd.xyz

and redirect to

www.sub.example.xyz/sd/test/disd?dest=http://testesd.xyz
Updated Jun 06, 2023
Version 2.0

1 Comment

  • Hi,

     

    you are in the wrong part of the forum...

     

    post your question in Answers section.