Forum Discussion
Kenny_Van_73892
Nov 06, 2006Nimbostratus
Well, I got a chance to test the matching cases irules yesterday. All worked well, except when I modified the above irules little bit, the use pool function never worked out right.
if (tolower(http_uri contains "logon")) {
redirect to "https://" + http_url + tolower(http_uri)
}
else {
use pool my_pool
}
For example: when I typed http://www.secure.com/logon/default.aspx, the irules redirected to secure site https:// and this part worked fine; however, when I removed /logon/default.aspx, the irules didn't redirect to http://, instead it still kept https://. So I think the use pool function never worked in this case.
When I configured my_pool, I used http service for all its members.