Forum Discussion
JG
Jun 26, 2019Cumulonimbus
Or better still change it to use "HTTP::path" instead:
when HTTP_REQUEST {
if { [HTTP::path] ends_with "//" } {
set new_path [string trimright [HTTP::path] '/']
HTTP::path "$new_path/"
}
if { [HTTP::path] equals "/" } {
HTTP::redirect "https://[HTTP::host]/web/guest/cna/home"
}
}
- Ravi_KakranJun 27, 2019Nimbostratus
Sorry JG, even this above did not work. Error while executing scenario, screenshot attached.
Please do the needful and thank you for your help.