Forum Discussion
Irule stops working suddenly?
I have a basic redirect irule like this, and we have BIG-IP 13.1.1.4 Build 0.0.4 Point Release 4.
Sometimes the iRule is just not triggered, we then remove the iRule and add it again and it starts to work again, anyone have an idea of what can cause this?
Regards,
Bunke Andersson
when HTTP_REQUEST {
if {[HTTP::uri] equals "/" or [HTTP::uri] equals "" }{
HTTP::redirect "https://[HTTP::host]/overview"
}
}
Is there any specific reason to add ([HTTP::uri] equals "" ). I don't see issue with irule but may be tune.
we recommend to use this kind of irule.
when HTTP_REQUEST { if {[HTTP::uri] equals "/" }{ HTTP::redirect "https://[HTTP::host]/overview" } }
- Bunkemannen
Nimbostratus
I really dont know why it looks like that, maybe “/” is good enough and does the job! //B
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