Forum Discussion
Rob2
Jun 21, 2019Nimbostratus
I'm not exactly sure of your requirement but another idea and very quick to handle double // at end of URI without if constructs, string functions...
when HTTP_REQUEST {
# replaces // at end of URI with / if present
HTTP::uri [regsub "\//$" [HTTP::uri] "/"]
HTTP::redirect "https://[HTTP::host]/web/guest/cna/home"
}
- Ravi_KakranJun 27, 2019Nimbostratus
Hi Rob,
As requested, can yo please advise what should be the right syntax for suggested irule as this rule is showing syntax error. Please do the needful... thanks.