Forum Discussion
dennypayne
Jul 20, 2009Employee
Hi,
Just use the "string tolower" command to perform the matches. But you'll have to split the host and URI if you really need to check the host. If "website.org" isn't going to change then just this should work:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] eq "/membership/renew" } {
HTTP::redirect "https://www.website.org/Membership/Renewform.aspx"
}
Otherwise you'll need another "if" statement to check [HTTP:host] using the same logic as well.
Denny