Hello When client browser input " redirect http to https ;If uri not contain " not redirect . I write the irules below ,please help me ensure it is right or not ?
First of all,
You have uploaded wrong screenshot. ![]()
Also you can try below irule..
when HTTP_REQUEST {
if { ([string tolower [HTTP::host]] equals "web.cnrmall.com") and ([HTTP::uri] equals "/api/pay/alipay/notify") } {
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
} else {
return
}
}
-Jinshu
