Forum Discussion
Stanislas_Piro2
Oct 20, 2015Cumulonimbus
Hi,
How can the second irule work with the switch condition???
if the referer is
http://goodlocation.com/mypath
, the command [string tolower [URI::host [HTTP::header "Referer"]]]
returns only goodlocation.com
and you search goodlocation.com/*
another issue may be the redirect in both irules: if there is no referer and path is wrong, the second redirect may cause TCL error. to solve this issue, add a
return
command after each redirect command