Hi Krys,
your are pretty close.
Please modify your receive string as follows:
HTTP/1\.[01] 30[12] (moved|found)
The evaluation can be done by matching a regular expression.
So both HTTP/1.0 and HTTP1.1 resposes with status codes of 301 and 302 will be accepted.
Please do not use "OK" in case you expect a redirect.
In this case it´s very likely to receive a "Moved" or "Found" optional string to look after.
I haven´t found a dokumentation, what regex engine is used. But it seems to be configured case insensitive.
The following receive String will work as well:
^http/1\.[01]\s+30[12]\s+(found|moved)
(Looks for string "http/1" followed by a literal dot at beginning of line, allows http-version 0 and 1, one or multiple whitespaces, followed by a 301 or 302, one or multiple whitespaces, followed by either "found" or "moved".)
For testing the cURL available on your BIG-IP will be helpful (forcing HTTP/1.0 by "-0" and to dump the headers only by "-I"):
curl -k -0 -I -H 'Host: wam.ibm.intralink.bns' 'https:///opensso'
Thanks, Stephan
Edited (2015-03-29): Modified to look for a literal dot and added a second regex as receive string.