Forum Discussion
iRules not working
Hi,
I have set-up one F5 node in lab environment. Everything is working fine except iRules. Some of the iRules are not working, syntax is correct. I tried everything but it is not working. Need ur help. Simple redirect using if statement is not happening. e.g. below one.
F5's is running on 14.1.
if {[HTTP::host] equals "abc.com" }
{HTTP:: redirect "par.com"}
Need your help.
Hello BK,
This is may be happening because there're some changes in iRules syntax/behavior for respond and redirect in 14.1 and 15.x version.
Below article will help you.
https://support.f5.com/csp/article/K23237429
https://cdn.f5.com/product/bugtracker/ID737252.html
Hope it helps!
Mayur
Hello BK,
This is may be happening because there're some changes in iRules syntax/behavior for respond and redirect in 14.1 and 15.x version.
Below article will help you.
https://support.f5.com/csp/article/K23237429
https://cdn.f5.com/product/bugtracker/ID737252.html
Hope it helps!
Mayur
- BK1Cirrus
Oh I see! Thanks for letting me know. I was not aware of this change in behaviour. I will try changes suggested in the article. But it's seems to be only workaround but not fix. :-(
As of now, this is the only solution.
Mayur
- BK1Cirrus
Thanks Sajid, I will try this one also.
- BK1Cirrus
Hi Sajid, changes suggested in article shared by Mayur solved my issue. Thank you.
- BK1Cirrus
Finally I was able to run all my iRules on my F5 14.1.
Thank you guys.
Recent Discussions
Related Content
* 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