Siddharth_Sezhi
Sep 27, 2006Nimbostratus
need to make url redirects to be case in-sensitive
We wanted to redirect to a particular site when the url has /abc i implemented irule like the one below. It seems to work but the problem is its case sensitive. when client /ABC or /Abc except for the exact /abc it doesnt seem to work. we wanted to make it case in-sensitive. Kindly help me in this regard.
when HTTP_REQUEST {
if { [HTTP::uri] ends_with "cgi" } {
pool cgi_pool
} elseif { [HTTP::uri] starts_with "/abc" } {
pool abc_servers
}
}
Regards
Siddharth S