Forum Discussion
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 ...
maximillean_953
Apr 07, 2014Nimbostratus
this one above is tested and works perfectly same output. As others only thing left is one respond with http 1.1 f5 respond with http 1.0
Netscaler One
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 13:43:25 GMT; domain=.123.com
F5 One
curl -H "Host:www.123.com" -I 10.35.78.76/cookies/set/xyz
HTTP/1.0 302 Found Location: www.gittigidiyor.com Set-Cookie: TESTROUTER=xyz; path=/; expires=Tue, 08 Apr 2014 13:43:52 GMT; domain=.123.com Server: BigIP Connection: Keep-Alive Content-Length: 0
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects