Forum Discussion
Nov 08, 2006
You need to fix the tolower call. It should only have the http_uri as a parameter, instead you have the entire contains condition. This is returning a boolean and the tolower returns a non-zero value which is always interpreted as true so the initial if will always succeed.
Give this a shot:
if (tolower(http_uri) contains "logon") {
redirect to "https://" + http_url + tolower(http_uri)
}
else {
use pool my_pool
}