Forum Discussion

1 Reply

  • Hello Omar,

    Try the following irule, if starting with "/xyz/ghq.asmx" it will not redirect, otherwise it will redirect to https.

    when HTTP_REQUEST {
    
        if { ! ( [string tolower [HTTP::uri]] starts_with "/xyz/ghq.asmx" ) } {
            HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
        }
    
    }
    

    Hope it helps

    Waiting for you feedback thanks