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

Forum Discussion

yuanqiang_22112's avatar
yuanqiang_22112
Icon for Nimbostratus rankNimbostratus
Oct 15, 2018

irules for 302 redirect

Hi: I need a irules , when browser input "; F5 redirect ";.

 

If you can give a irules ,no matter what character the browser enters , F5 redirect “https://www1.cnrmall.com” ,It will be better .

 

1 Reply

  • Hi,

    try this:

    when HTTP_REQUEST {
        if {!([string tolower [HTTP::host]] equals "www1.cnrmall.com")}{
            HTTP::redirect "http://www1.cnrmall.com[HTTP::uri]"
        }
    }
    

    if host id different to www1.cnrmall.com we redirect user to www1.cnrmall.com and keeping the uri.

    let me know if you need more details.

    regards,