Hi,
HTTP::path of these URLs is /bin/enterprise and not /bin/enterprise?siteName=a&No=SAV603
/bin/enterprise?siteName=a&No=SAV603 is stored in the variable HTTP::uri
? character with the -glob option will match any character and not only ?
there is also another issue in the irule a lower case URI cannot be compared with a string containing uppercase characters
when HTTP_REQUEST {
switch [HTTP::uri] {
"/bin/enterprise?siteName=a&No=SAV603" -
"/bin/enterprise?siteName=a&No=DP6012" -
"/bin/enterprise?siteName=a&No=SA1005" { HTTP::redirect "http://go.pqr.com/elib" }
default {}
}
}