maximillean_953
Apr 07, 2014Nimbostratus
Example Irule
Hi, I try to translate a content switching rule from netscaler to F5 Irule for migration which still keeps going on.
I need a rule that if first 2 path of uri /cookies/set/xyz
then rule does 302 temp redirect to www.123.com with 3rd path string pasted to Set-cookie header member as Set-Cookie:TESTROUTER=xyz; and the rest mentioned below example.
curl -I 10.35.72.172/cookies/set/xyz
HTTP/1.1 302 Temporary Redirect
Location: http://www.123.com
Set-Cookie:TESTROUTER=xyz; path=/; expires=Tue, 08 Apr 2014 12:38:25 GMT; domain=.123.com
Any idea how can i do this? I try to do couple things but did not succeed yet