Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

AShok_6738's avatar
AShok_6738
Icon for Nimbostratus rankNimbostratus
Sep 07, 2011

need help to wrire Irule

I need help to wrire Irule for this URL:

 

 

Based on .qa.abc.com/UBB we need to redirect to https://secure.qa.abc.com/servlet/Satellite?lsb=

 

 

Example:

 

 

http://tak.qa.abc.com/UBB want to redirect to https://secure.qa.abc.com/servlet/S...b/HomePage

 

 

is and i want that brand to be append in long url after lsb=

 

 

Please help me on to create iRule.

 

 

Thank YOu

 

 

1 Reply

  • Hi Ashok,

    While I understand that you want a redirect, I am not exactly sure where you want to append the long URL?

    That being said here is an example working of your redirect example.

    
    when HTTP_REQUEST {
    if {([HTTP::host] ends_with ".qa.abc.com") and ([HTTP::uri] eq "/UBB") } {
                  scan[HTTP::host] %s. prefix1 
                  HTTP::redirect "https://secure.qa.abc.com/servlet/Satellite?lsb=$prefix1&category=157&pagename=VFSWeb/HomePage
                 }
    }
    

    I hope this helps

    Bhattman