Forum Discussion
CraigM_17826
Altocumulus
Aug 30, 2007iRules not always being processed?
Hi everyone,
we are noticing a small issue when people connect to a virtual server on our BigIP. For some users the initial connection fails and the browser reports that the page is not accesable. If the user then does a refresh or just presses the ENTER key again then the page loads as expected. Clearing the users browser cache and URL history does not cause the issue to re-occur. Could this sort of behaviour be caused by a faulty iRule? Is there some limit on the number of connections to a virtual server that it could be reaching?
Any comments welcome.
Regards
Craig
- CraigM_17826
Altocumulus
Hi everyone, - hoolio
Cirrostratus
Are there multiple redirects that could possibly be hit in one or more rules attached to the VIP? Can you post the full rule(s) you're using? - CraigM_17826
Altocumulus
Ok, Wschultz, your suggestions were spot on. I've also gone over some of the tests and they were in fact doubling up. - Wil_Schultz_101
Nimbostratus
So, I'm not entirely sure what you are trying to accomplish. Regarding the 'equals /' statement, that will only redirect a 'GET /'. I you are attempting to redirect everything you can change it to 'starts_with /' and that would grab 'GET /dddd' as well. Is that what you are trying to do?if {[HTTP::uri] starts_with "/"} { HTTP::redirect "https://mycomp.com.au/wps/portal" return 0 }
- CraigM_17826
Altocumulus
Hi Wschultz, - Kirk_Bauer_1018
Nimbostratus
You don't have to worry about "http://mycomp.com.au" as the browser will always at least send a / as the URI. I would just do an if statement: - CraigM_17826
Altocumulus
A big thanks to wschultz and kirkbauer, I'm testing out these rules in our test environment now. If all goesw well I'll push them out to production.
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